Line Height Base Kit

Installation

No MCP yet? Connect your agent.

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

import { createSlateEditor } from "platejs";
import { BaseLineHeightKit } from "@/components/editor/plugins/line-height-base-kit";

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