RichTextEditor
Edit formatted documents and persist content in a Tiptap-backed JSON schema.
Basic usage
Mount Content to render the editor. Compose Toolbar with the actions you need and use CharacterCount to display the total. Persist the JSON document from onValueChange as the canonical representation.
0 / 300
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
value / defaultValue | RichTextDocument | empty document |
onValueChange | (details: RichTextValueDetails) => void | — |
name | string | — |
submitValue | json | html | text | json |
maxCharacters | number | — |