New to Kendo UI for VueStart a free 30-day trial

EditorProps

Interface

Represents the props of the Kendo UI for Vue Editor component.

Definition

Package:@progress/kendo-vue-editor

Properties

Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute.

The accessible label of the component.

Identifies the element(s) which will label the component.

Sets styles to the content element wrapper of the Editor.

Sets the default HTML content of the Editor.

Sets the initial edit mode of the Editor. Defaults to iframe.

dir?

string

Represents the dir HTML attribute.

Fires each time the Editor is about to mount. Useful for configuring the EditorView object. To initialize EditorView, use the properties of the event object.

Parameters:eventEditorMountEventReturns:

void | EditorView

If set to false, it will turn off the built-in keyboard navigation of the Editor's Toolbar.

onBlur?

(event: EditorBlurEvent) => void

Fires when the Editor's content element has lost focus.

Parameters:eventEditorBlurEvent

Fires each time the value of the Editor is about to change.

Parameters:eventEditorChangeEvent

Fires each time the Editor is about to apply a transaction. To prevent the transaction, return false.

Parameters:eventEditorExecuteEventReturns:

boolean | void

onFocus?

(event: EditorFocusEvent) => void

Fires when the Editor's content element has received focus.

Parameters:eventEditorFocusEvent

Fires each time the Editor is about to mount. Useful for configuring the EditorView object. To initialize EditorView, use the properties of the event object.

Parameters:eventEditorMountEventReturns:

void | EditorView

A funciton that fires each time the Editor is about to insert pasted content. Useful for modifying pasted content.

Parameters:eventEditorPasteEventReturns:

string | void

preserveWhitespace?

string | boolean

Defines the options that will be used for parsing the HTML. If false is set, the whitespace is collapsed as per HTML's rules. Pass true to preserve whitespace, but normalize newlines to spaces. full will preserve whitespace entirely.

Defaults to full.

resizable?

boolean

Specifies if the Editor will be resizable.

tools?

any[]

Sets the tools of the Editor. By default, the Editor renders no tools.

value?

string | Node

The value of the Editor.