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
"use client"import { BasicBlocksKit } from "@/components/editor/plugins/basic-blocks-kit"import { Plate, PlateContent, usePlateEditor } from "platejs/react"export default function BasicBlocksDemo() { const editor = usePlateEditor({ plugins: [...BasicBlocksKit], value: [ { type: "h1", children: [{ text: "Meeting notes" }] }, { type: "p", children: [{ text: "Discussed the launch plan for next week." }] }, { type: "blockquote", children: [{ text: "Ship it when it is ready, not when it is perfect." }] }, { type: "h2", children: [{ text: "Action items" }] }, { type: "p", children: [{ text: "Share the updated roadmap with the team." }] }, ], }) return ( <div className="w-full max-w-lg"> <Plate editor={editor}> <PlateContent className="min-h-48 rounded-md border p-4 outline-none" placeholder="Start typing..." /> </Plate> </div> )}