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 { FloatingToolbarKit } from "@/components/editor/plugins/floating-toolbar-kit"export default function FloatingToolbarDemo() { const editor = usePlateEditor({ plugins: [...FloatingToolbarKit], value: [ { type: "p", children: [{ text: "Select any text in this paragraph to open the floating toolbar." }], }, { type: "p", children: [{ text: "Try bold, italic, or underline on a few words." }], }, ], }) return ( <Plate editor={editor}> <PlateContent className="w-full max-w-lg rounded-md border p-4 text-sm outline-none" placeholder="Type something..." /> </Plate> )}