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 { BaseAlignKit } from "@/components/editor/plugins/align-base-kit"export default function AlignDemo() { const editor = usePlateEditor({ plugins: [...BaseAlignKit], value: [ { type: "p", align: "left", children: [{ text: "Left aligned paragraph, the default for new text." }] }, { type: "p", align: "center", children: [{ text: "Centered paragraph for callouts." }] }, { type: "p", align: "right", children: [{ text: "Right aligned paragraph." }] }, ], }) return ( <Plate editor={editor}> <PlateContent className="w-full max-w-lg rounded-md border p-4 text-sm" placeholder="Type something..." /> </Plate> )}