Typedef

DetachRootEvent (editor-multi-root)

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

typedefobject

Fired whenever a root is detached from the editor model.

Use this event to destroy a DOM editable for the detached root and remove the DOM element from your application.

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

Filtering

Properties

  • args : tuple

  • name : 'detachRoot'

Fired by