Typedef

AddRootEvent (editor-multi-root)

@ckeditor/ckeditor5-editor-multi-root/src/multirooteditor

typedefobject

Fired whenever a root is added or re-added to the editor model.

Use this event to create a DOM editable for the added root and append the DOM element in a desired place in your application.

The event is fired after all changes from a given batch are applied. The event is not fired, if the root was added and detached in the same batch.

Filtering

Properties

  • args : tuple

  • name : 'addRoot'

Fired by