EditorProps
Represents the props of the KendoReact Editor component.
Name | Type | Default | Description |
---|---|---|---|
ariaDescribedBy? |
|
Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. | |
ariaLabel? |
|
The accessible label of the component. | |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component. | |
className? |
|
Sets additional classes to the Editor. | |
contentStyle? |
|
Sets styles to the content element wrapper of the Editor. | |
defaultContent? |
|
Sets the default HTML content of the Editor. | |
defaultEditMode? |
|
Sets the initial edit mode of the Editor. Defaults to | |
dir? |
|
Represents the | |
keyboardNavigation? |
|
If set to | |
onBlur? |
|
Fires when the Editor's content element has lost focus. | |
onChange? |
|
Fires each time the value of the Editor is about to change. | |
onExecute? |
|
Fires each time the Editor is about to apply a transaction.
To prevent the transaction, return | |
onFocus? |
|
Fires when the Editor's content element has received focus. | |
onIFrameInit? |
|
Fires on the initialization of an Editor with iFrame property set to true. The event is used to access the iFrame document, change its properties or add custom styles. | |
onMount? |
|
Fires each time the Editor is about to mount.
Useful for configuring the | |
onPasteHtml? |
|
Fires each time the Editor is about to insert pasted content. Useful for modifying pasted content. | |
preserveWhitespace? |
|
Defines the options that will be used for parsing the HTML.
If Defaults to | |
resizable? |
|
Specifies if the Editor will be resizable. | |
style? |
|
Sets styles to the Editor. | |
tools? |
|
Sets the tools of the Editor. By default, the Editor renders no tools. | |
value? |
|
The value of the Editor. |