NEWCKEditor AI on your premises: Hook your LLM and register MCP tools. Webinar coming soon!
Sign up (with export icon)

DetachRootEvent

Api-typedef icontypedef

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.

Properties

  • args : tuple

  • name : 'detachRoot'

Value

object

Fired by