Back to packages
@bayonai/rich-text-editor
v0.1.2
React 19
Product Brief
A launch-note style document with headings, narrative copy, quotes, checkboxes, code, stats, preview, and plain-text extraction.
Structured product writing
Product Brief
A launch-note style document with headings, narrative copy, quotes, checkboxes, code, stats, preview, and plain-text extraction.
Back to examplesProduct brief
Interactive demo
Preview-ready
Product brief example
Use this example to feel the editor as a product-writing surface: structured prose, decisions, implementation snippets, tasks, preview, and extracted text all stay in one controlled block contract.
Document contract
121
Words
1
Min read
9
Blocks
5
Types
Plain text output
Launch notes for an excellent editor A serious editor that still feels fast Bayon Text Editor is built for product teams that need a beautiful writing surface and a dependable data model at the same time. The same blocks can power editing, previews, AI review, exports, search indexing, and persistence. Try editing this document. Select text, add a new line, toggle a task, or switch to preview. The stats, plain text, and rendered view all update from the same controlled RichTextBlock state. A great editor should feel expressive to writers and boringly reliable to engineers. Structured block model for durable storage Read-only renderer that uses the same saved content Host-owned uploads, auth, routing, and persistence const safeBlocks = sanitizeRichTextBlocks(contentBlocks); const stats = getWritingStats(safeBlocks); const text = richTextBlocksToPlainText(safeBlocks);
