Documentation

Editor

editor.content.before.load #

Arguments
html StringSource content of the editor.

Occurs before the editor start.

editor.content.load #

Arguments
html StringSource content of the editor.

Occurs when the editor started.

editor.content.before.change #

Arguments
html StringContent of the editor.

Occurs before syncing content with the source textarea.

editor.content.change #

Arguments
html StringContent of the editor.

Occurs whenever the editor synchronizes content with the source textarea.

editor.content.set #

Arguments
html StringContent of the editor.

Occurs when the content is set to the editor using the API method editor.content.set.

editor.content.before.parse #

Arguments
html StringContent of the editor.

Occurs before parsing content.

editor.content.parse #

Arguments
html StringContent of the editor.

Occurs whenever the content is parsed.

editor.content.before.unparse #

Arguments
html StringContent of the editor.

Occurs before unparsing content.

editor.content.unparse #

Arguments
html StringContent of the editor.

Occurs whenever the content is unparsed.

editor.click #

Arguments
e ObjectEvent object

Occurs whenever a block in the editor is clicked.
This event has event.stop method.

editor.focus #

Arguments
e ObjectEvent object
$element DomDom of the editor element.

Occurs whenever the editor gets focus.

editor.blur #

Arguments
e ObjectEvent object
$element DomDom of the editor element.

Occurs whenever the editor loses focus.

editor.hover #

Arguments
e ObjectEvent object

Occurs whenever a block in the editor is hovered.

editor.keydown #

Arguments
e ObjectEvent object

Occurs whenever the editor has a keydown event.
This event has event.stop method.

editor.keyup #

Arguments
e ObjectEvent object

Occurs whenever the editor has a keyup event.
This event has event.stop method.

editor.drop #

Arguments
e ObjectEvent object

Occurs whenever the editor has a drop event.

editor.cut #

Arguments
e ObjectEvent object

Occurs whenever the editor has a cut event.

editor.copy #

Arguments
e ObjectEvent object

Occurs whenever the editor has a copy event.

editor.paste #

Arguments
e ObjectEvent object

Occurs whenever the editor has a paste event.

This event has event.stop method.