autoSaveInterval | number | undefined | 30000 | Auto-save interval in milliseconds |
children | React.ReactNode | Not set | — |
Content.className | string | undefined | Not set | — |
defaultValue | string | undefined | | Default value for uncontrolled usage |
disabled | boolean | undefined | false | Disable the editor; the text stays selectable and copyable |
errorMessage | string | undefined | Not set | Words shown under the field while invalid, with a warning icon |
formats | EditorFormat[] | undefined | ["bold", "italic", "strikethrough", "link", "code", "bulletList"] | Which format buttons the default toolbar shows (one heading step: `heading`) |
helperText | string | undefined | Not set | Helper text below the field; describes the text box |
invalid | boolean | undefined | false | Marks the value invalid: the danger edge, aria-invalid and the error message |
label | string | undefined | Not set | Visible label above the field; names the text box |
maxLength | number | undefined | Not set | Maximum character count. The status bar shows count / limit, warns at 90% and says how many over past it |
onAutoSave | ((value: string) => void | Promise<void>) | undefined | Not set | Auto-save callback, called at autoSaveInterval (may be async) |
onValueChange | ((value: string) => void) | undefined | Not set | Called when content changes |
placeholder | string | undefined | Start typing… | Placeholder text shown when empty; never the accessible name |
readOnly | boolean | undefined | false | Read-only: the toolbar hides and the edge turns dashed |
rows | number | undefined | 8 | Height of the writing area in text lines, as Textarea counts them |
statusBar | boolean | undefined | Not set | Show the default status bar. On by default only when maxLength or onAutoSave is set |
StatusBar.children | React.ReactNode | Not set | — |
StatusBar.className | string | undefined | Not set | — |
StatusBar.showCharCount | boolean | undefined | Not set | Show character count |
StatusBar.showWordCount | boolean | undefined | Not set | Show word count |
StatusIndicator.className | string | undefined | Not set | — |
StatusIndicator.labels | Partial<Record<EditorSaveStatus, string>> | undefined | Not set | Custom labels per status |
StatusIndicator.status | EditorSaveStatus | undefinedidleerrorsavingsaved | Not set | Override the save status from context |
toolbar | boolean | undefined | true | Show default toolbar |
Toolbar.aria-label | string | undefined | Not set | — |
Toolbar.childrenRequired | React.ReactNode | Not set | — |
Toolbar.className | string | undefined | Not set | — |
ToolbarButton.className | string | undefined | Not set | — |
ToolbarButton.formatRequired | EditorFormatblockquotecodelinkheadingbolditalicstrikethroughbulletListorderedListundoredo | Not set | Which format this button toggles |
ToolbarGroup.aria-label | string | undefined | Not set | — |
ToolbarGroup.childrenRequired | React.ReactNode | Not set | — |
ToolbarGroup.className | string | undefined | Not set | — |
value | string | undefined | Not set | Controlled editor value |