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 { BaseLinkKit } from "@/components/editor/plugins/link-base-kit"const initialValue = [ { type: "p", children: [ { text: "Read the docs at " }, { type: "a", url: "/docs", children: [{ text: "the docs page" }], }, { text: " for more details." }, ], },]export default function LinkDemo() { const editor = usePlateEditor({ plugins: [...BaseLinkKit], value: initialValue, }) return ( <div className="w-full max-w-lg"> <Plate editor={editor}> <PlateContent className="min-h-24 rounded-md border p-3 text-sm outline-none" placeholder="Type here..." /> </Plate> </div> )}