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 { createPlatePlugin, Plate, PlateContent, usePlateEditor } from "platejs/react"import { BulletedListElement, ListItemElement, NumberedListElement } from "@/components/ui/list-classic-node"const plugins = [ createPlatePlugin({ key: "ul", node: { isElement: true, component: BulletedListElement } }), createPlatePlugin({ key: "ol", node: { isElement: true, component: NumberedListElement } }), createPlatePlugin({ key: "li", node: { isElement: true, component: ListItemElement } }),]const value = [ { type: "ul", id: "bullets", children: [ { type: "li", id: "b-1", children: [{ text: "Design the homepage layout" }] }, { type: "li", id: "b-2", children: [{ text: "Write the onboarding copy" }] }, { type: "li", id: "b-3", children: [{ text: "Review pricing with the team" }] }, ], }, { type: "ol", id: "numbered", children: [ { type: "li", id: "n-1", children: [{ text: "Create an account" }] }, { type: "li", id: "n-2", children: [{ text: "Verify your email address" }] }, { type: "li", id: "n-3", children: [{ text: "Invite your first collaborator" }] }, ], },]export default function ListClassicDemo() { const editor = usePlateEditor({ plugins, value }) return ( <Plate editor={editor}> <PlateContent readOnly className="w-full max-w-sm text-sm" /> </Plate> )}