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 { BaseLineHeightKit } from "@/components/editor/plugins/line-height-base-kit"const initialValue = [ { type: "h2", children: [{ text: "Release notes" }], }, { type: "p", children: [ { text: "Line height is now adjustable per paragraph and heading. Pick a spacing from the toolbar to make long passages easier to read.", }, ], }, { type: "p", children: [{ text: "The default is 1.5, which works well for most body text." }], },]export default function LineHeightDemo() { const editor = usePlateEditor({ plugins: [...BaseLineHeightKit], value: initialValue, }) return ( <Plate editor={editor}> <PlateContent className="w-full max-w-lg rounded-md border p-4 text-sm outline-none" placeholder="Start typing..." /> </Plate> )}