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 { CursorOverlay } from "@/components/ui/cursor-overlay"const initialValue = [ { type: "p", children: [ { text: "Meeting notes: review the Q3 roadmap and confirm owners for each milestone before Friday.", }, ], }, { type: "p", children: [ { text: "Action items will be shared with the team after the call.", }, ], },]export default function CursorOverlayDemo() { const editor = usePlateEditor({ value: initialValue }) return ( <Plate editor={editor}> <div className="relative w-full max-w-md rounded-md border bg-background p-4 text-sm leading-relaxed"> <PlateContent className="outline-none" placeholder="Type something..." aria-label="Meeting notes" /> <CursorOverlay /> </div> </Plate> )}