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 { SlashKit } from '@/components/editor/plugins/slash-kit';export default function SlashDemo() { const editor = usePlateEditor({ plugins: [...SlashKit], value: [ { type: 'p', children: [{ text: 'Type / to insert a block.' }] }, ], }); return ( <Plate editor={editor}> <PlateContent placeholder='Type "/" for commands...' className='min-h-40 w-full max-w-lg rounded-md border px-4 py-3 text-sm focus-visible:outline-none' /> </Plate> );}