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 { createPlateEditor, Plate } from "@platejs/core/react"import { Caption, CaptionTextarea } from "@/components/ui/caption"import { photoImage } from "@/preview/images"const editor = createPlateEditor()export default function CaptionDemo() { return ( <Plate editor={editor}> <figure className="w-full max-w-md"> <img src={photoImage("running shoes", 800, 600)} alt="Running shoes on a wooden floor" className="w-full rounded-md object-cover" /> <Caption align="left"> <CaptionTextarea placeholder="Type a caption..." /> </Caption> </figure> </Plate> )}