Exit Break Kit

platejs.org/view/exit-break-demo
Live demo

Installation

No MCP yet? Connect your agent.

Features

  • Exit from nested block structures (like code blocks, tables, columns) using keyboard shortcuts.
  • Automatically determines the appropriate exit point based on block hierarchy.

Usage

Installation

The fastest way to add exit break functionality is with the ExitBreakKit, which includes pre-configured ExitBreakPlugin with keyboard shortcuts.

Add Kit

import { createPlateEditor } from "platejs/react";
import { ExitBreakKit } from "@/components/editor/plugins/exit-break-kit";

const editor = createPlateEditor({
  plugins: [
    // ...otherPlugins,
    ...ExitBreakKit,
  ],
});