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 { LineHeightPlugin } from "@platejs/basic-styles/react"import { Plate, PlateContent, usePlateEditor } from "platejs/react"import { LineHeightToolbarButton } from "@/components/ui/line-height-toolbar-button"import { Toolbar } from "@/components/ui/toolbar"import { TooltipProvider } from "@/components/ui/tooltip"export default function LineHeightDemo() { const editor = usePlateEditor({ plugins: [LineHeightPlugin], value: [{ type: "p", children: [{ text: "Adjust the line height of this paragraph." }] }], }) return ( <TooltipProvider> <Plate editor={editor}> <div className="w-full max-w-lg overflow-hidden rounded-md border"> <Toolbar className="border-b p-1"> <LineHeightToolbarButton /> </Toolbar> <PlateContent className="p-4 text-sm" placeholder="Type your text..." /> </div> </Plate> </TooltipProvider> )}