Comment Base Kit

Installation

No MCP yet? Connect your agent.

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

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

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

Connect users, persistence, permissions, and any realtime transport in the host application. The component alone does not provide a shared backend.

Related items

Requires

  • A text component for displaying comments with visual indicators.

    ReactTailwind