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 { EmojiPlugin } from '@platejs/emoji/react';import { Plate, PlateContent, usePlateEditor } from 'platejs/react';import { EmojiInputElement } from '@/components/ui/emoji-node';export default function EmojiNodeDemo() { const editor = usePlateEditor({ plugins: [EmojiPlugin.withComponent(EmojiInputElement)], value: [ { type: 'p', children: [{ text: 'Great work today! Type a colon to add an emoji.' }], }, ], }); return ( <Plate editor={editor}> <PlateContent className="w-full max-w-md rounded-md border p-4 text-sm outline-none" placeholder="Type : to search emoji" /> </Plate> );}