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 { createPlateEditor, Plate, PlateContent } from "platejs/react"import { ToggleKit } from "@/components/editor/plugins/toggle-kit"const editor = createPlateEditor({ plugins: [...ToggleKit], value: [ { type: "toggle", open: true, children: [ { type: "p", children: [{ text: "Product information" }], }, ], }, { type: "p", children: [ { text: "Our flagship product combines cutting-edge technology with sleek design.", }, ], }, ],})export default function ToggleDemo() { return ( <Plate editor={editor}> <PlateContent className="w-full max-w-lg p-4 text-sm outline-none" /> </Plate> )}