Add BaseFootnoteKit to the editor's plugin array. The kit keeps its node renderers and feature plugins together.
import { createSlateEditor } from "platejs";
import { BaseFootnoteKit } from "@/components/editor/plugins/footnote-base-kit";
const editor = createSlateEditor({
plugins: [...BaseFootnoteKit],
});
