Report an issue
Module

engine/view/observer/mutationobserver

@ckeditor/ckeditor5-engine/src/view/observer/mutationobserver

module

Filtering

Classes

  • Mutation observer class observes changes in the DOM, fires event-mutations event, mark view elements as changed and call render. Because all mutated nodes are marked as "to be rendered" and the render is called, all changes will be reverted, unless the mutation will be handled by the event-mutations event listener. It means user will see only handled changes, and the editor will block all changes which are not handled.

Type Definitions