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 { RemoteCursorOverlay } from "@/components/ui/remote-cursor-overlay"import { Card, CardContent } from "@/components/ui/card"export default function RemoteCursorOverlayDemo() { const editor = usePlateEditor({ value: [ { type: "p", children: [ { text: "Draft the release notes for this week. Mention the new editor shortcuts and the fixed sync bug.", }, ], }, ], }) return ( <Card className="w-full max-w-lg"> <CardContent> <Plate editor={editor}> <div className="relative"> <PlateContent className="min-h-40 rounded-md border p-3 text-sm outline-none" aria-label="Shared document" /> <RemoteCursorOverlay /> </div> </Plate> </CardContent> </Card> )}