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 { SlashInputElement } from "@/components/ui/slash-node"export default function SlashNodeDemo() { const editor = usePlateEditor({ components: { slash_input: SlashInputElement, }, value: [ { type: "p", children: [ { text: "Type / to insert a block" }, { type: "slash_input", trigger: "/", children: [{ text: "" }] }, { text: "" }, ], }, ], }) return ( <Plate editor={editor}> <PlateContent className="w-full max-w-md text-sm" placeholder="Type / to insert a block" /> </Plate> )}