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 { createStaticEditor, PlateStatic } from "platejs/static"import { ImagePlugin } from "@platejs/media/react"import { ImageElementStatic } from "@/components/ui/media-image-node-static"import { photoImage } from "@/preview/images"const value = [ { id: "image-1", type: "img", url: photoImage("mountain trail at sunrise", 800, 600), align: "center", width: 360, caption: [{ text: "Morning trail run above the valley" }], children: [{ text: "" }], },]const editor = createStaticEditor({ plugins: [ImagePlugin.withComponent(ImageElementStatic)], value,} as any)export default function MediaImageNodeDemo() { return ( <div className="w-full max-w-md"> <PlateStatic editor={editor} /> </div> )}