EditorPropsPremium
Represents the props of the KendoReact Editor component.
Name | Type | Default | Description |
---|---|---|---|
ariaDescribedBy? |
|
Identifies the element(s) that describe the Editor component. Similar to the HTML aria-describedby attribute. jsx
| |
ariaLabel? |
|
Provides an accessible label for the Editor component. Similar to the aria-label attribute. jsx
| |
ariaLabelledBy? |
|
Identifies the element(s) that label the Editor component. jsx
| |
className? |
|
Adds custom CSS classes to the Editor's root element. jsx
| |
contentStyle? |
|
Applies custom styles to the content element wrapper of the Editor. jsx
| |
defaultContent? |
|
Sets the default HTML content of the Editor. This content is rendered when the Editor is initialized and no value is provided. jsx
| |
defaultEditMode? |
|
Sets the initial edit mode of the Editor. Defaults to
jsx
| |
dir? |
|
Specifies the text directionality of the Editor content.
Accepts jsx
| |
keyboardNavigation? |
|
Disables the built-in keyboard navigation of the Editor's toolbar when set to jsx
| |
onBlur? |
|
Triggered when the Editor's content element loses focus. jsx
| |
onChange? |
|
Triggered when the value of the Editor is about to change. jsx
| |
onExecute? |
|
Triggered when the Editor is about to apply a transaction.
To prevent the transaction, return jsx
| |
onFocus? |
|
Triggered when the Editor's content element receives focus. jsx
| |
onIFrameInit? |
|
Triggered during the initialization of an Editor with the jsx
| |
onMount? |
|
Triggered when the Editor is about to mount. Useful for configuring the jsx
| |
onPasteHtml? |
|
Triggered when content is pasted into the Editor. Allows modification of the pasted content. jsx
| |
preserveWhitespace? |
|
Defines options for parsing HTML content:
Defaults to jsx
| |
resizable? |
|
Enables or disables resizing of the Editor. Defaults to jsx
| |
style? |
|
Applies custom styles to the Editor's root element. jsx
| |
tools? |
|
Configures the tools available in the Editor's toolbar. By default, no tools are rendered. jsx
| |
value? |
|
Specifies the value of the Editor. Can be a ProseMirror jsx
|