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 { createPlateEditor, Plate, PlateContent } from 'platejs/react';import { FontKit } from '@/components/editor/plugins/font-kit';const editor = createPlateEditor({ plugins: [...FontKit], value: [ { type: 'p', children: [ { text: 'Format text with ' }, { text: 'large red type', color: '#dc2626', fontSize: '24px' }, { text: ' or ' }, { text: 'highlighted words', backgroundColor: '#fef08a' }, { text: '.' }, ], }, ],});export default function FontKitDemo() { return ( <Plate editor={editor}> <PlateContent className="w-full max-w-lg rounded-md border p-4 text-sm" placeholder="Type here..." /> </Plate> );}