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