Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { Plate, PlateContent, usePlateEditor } from "platejs/react"import { BaseFontKit } from "@/components/editor/plugins/font-base-kit"import { Card, CardContent } from "@/components/ui/card"export default function FontBaseKitDemo() { const editor = usePlateEditor({ plugins: [...BaseFontKit], value: [ { type: "p", children: [ { text: "Style your text with " }, { text: "color", color: "#dc2626" }, { text: ", " }, { text: "highlight", backgroundColor: "#fef08a" }, { text: ", " }, { text: "size", fontSize: "24px" }, { text: " and " }, { text: "font", fontFamily: "serif" }, { text: "." }, ], }, ], }) return ( <Card className="w-full max-w-md"> <CardContent> <Plate editor={editor}> <PlateContent className="min-h-24 text-sm outline-none" placeholder="Type something..." /> </Plate> </CardContent> </Card> )}