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, usePlateEditor } from "platejs/react"import { Editor, EditorContainer } from "@/components/ui/editor"export default function EditorDemo() { const editor = usePlateEditor({ value: [ { type: "p", children: [{ text: "Welcome to the editor." }] }, { type: "p", children: [{ text: "Start typing to write your notes." }] }, ], }) return ( <Plate editor={editor}> <EditorContainer variant="select" className="w-full max-w-lg"> <Editor variant="select" placeholder="Type something..." /> </EditorContainer> </Plate> )}