Toggle Base Kit

Installation

No MCP yet? Connect your agent.

Add BaseToggleKit to the editor's plugin array. The kit keeps its node renderers and feature plugins together.

import { createSlateEditor } from "platejs";
import { BaseToggleKit } from "@/components/editor/plugins/toggle-base-kit";

const editor = createSlateEditor({
  plugins: [...BaseToggleKit],
});

Related items

Requires