EditorProps
Represents the props of the Kendo UI for Vue Editor component.
Definition
Package:@progress/kendo-vue-editor
Properties
ariaDescribedBy?
string
Sets the id of one or more elements that describe the Editor, similar
to the HTML aria-describedby attribute.
ariaLabel?
string
Sets the accessible label of the Editor.
ariaLabelledBy?
string
Sets the id of one or more elements that label the Editor.
contentStyle?
object
Sets the styles of the content element wrapper of the Editor.
defaultContent?
string
Sets the initial HTML content of the Editor.
defaultEditMode?
string
Sets the initial edit mode of the Editor.
'iframe'
dir?
string
Sets the dir HTML attribute of the Editor.
Sets a function that runs each time the Editor is about to mount.
Use it to configure the EditorView object.
To create the EditorView, use the properties of the event object.
keyboardNavigation?
boolean
Turns the built-in keyboard navigation of the Editor toolbar on or off.
To turn it off, set it to false.
true
onBlur?
(event: EditorBlurEvent) => void
Fires when the content element of the Editor loses focus.
onChange?
(event: EditorChangeEvent) => void
Fires each time the value of the Editor is about to change.
Fires each time the Editor is about to apply a transaction.
To prevent the transaction, return false.
onFocus?
(event: EditorFocusEvent) => void
Fires when the content element of the Editor receives focus.
Fires each time the Editor is about to mount.
Use it to configure the EditorView object.
To create the EditorView, use the properties of the event object.
Sets a function that runs each time the Editor is about to insert pasted content. Use it to change the pasted content.
preserveWhitespace?
string | boolean
Sets how the Editor handles whitespace when it parses HTML.
When you set it to false, the Editor collapses whitespace by the HTML rules.
When you set it to true, the Editor keeps whitespace but turns newlines into spaces.
When you set it to full, the Editor keeps all whitespace.
'full'
resizable?
boolean
Sets whether you can resize the Editor.
tools?
any[]
Sets the tools of the Editor. By default, the Editor renders no tools.
value?
string | Node
Sets the value of the Editor.