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
'use client'import { CommentKit } from '@/components/editor/plugins/comment-kit'import { Plate, PlateContent, usePlateEditor } from 'platejs/react'export default function CommentDemo() { const editor = usePlateEditor({ plugins: [...CommentKit], value: [ { type: 'p', children: [{ text: 'Select a few words in this paragraph and add a comment to start a discussion with your team.' }], }, ], }) return ( <div className="w-full max-w-lg"> <Plate editor={editor}> <PlateContent className="min-h-32 w-full rounded-md border px-4 py-3 text-sm focus:outline-none" placeholder="Type here..." /> </Plate> </div> )}