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 { TagPlugin } from '@platejs/tag/react'import { Plate, PlateContent, usePlateEditor } from 'platejs/react'import { TagElement } from '@/components/ui/tag-node'export default function TagNodeDemo() { const editor = usePlateEditor({ plugins: [TagPlugin.withComponent(TagElement)], value: [ { type: 'p', children: [ { text: 'Tags: ' }, { type: 'tag', value: 'design', children: [{ text: '' }] }, { text: ' ' }, { type: 'tag', value: 'engineering', children: [{ text: '' }] }, { text: ' ' }, { type: 'tag', value: 'product', children: [{ text: '' }] }, ], }, ], }) return ( <Plate editor={editor}> <PlateContent className='w-full max-w-md rounded-md border bg-background px-3 py-2 text-sm' placeholder='Add tags...' /> </Plate> )}