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

