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 { BasicNodesKit } from "@/components/editor/plugins/basic-nodes-kit"export default function BasicNodesKitDemo() { const editor = usePlateEditor({ plugins: [...BasicNodesKit], value: [ { type: "h1", children: [{ text: "Meeting notes" }] }, { type: "p", children: [ { text: "Discuss the " }, { text: "launch plan", bold: true }, { text: " with the team." }, ], }, ], }) return ( <Plate editor={editor}> <PlateContent className="w-full max-w-lg rounded-md border p-4 focus:outline-none" placeholder="Type..." /> </Plate> )}