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 { LinkPlugin } from "@platejs/link/react"import { Plate, PlateContent, usePlateEditor } from "platejs/react"import { LinkFloatingToolbar } from "@/components/ui/link-toolbar"export default function LinkToolbarDemo() { const editor = usePlateEditor({ plugins: [LinkPlugin], value: [ { type: "p", children: [ { text: "Read the " }, { type: "a", url: "/docs/link", children: [{ text: "Plate docs" }], }, { text: " for more details." }, ], }, ], }) return ( <Plate editor={editor}> <PlateContent className="w-full max-w-md rounded-md border p-4 text-sm outline-none" placeholder="Type your text..." /> <LinkFloatingToolbar /> </Plate> )}