engine/view/observer/mutationobserver
@ckeditor/ckeditor5-engine/src/view/observer/mutationobserver
Filtering
Classes
-
Mutation observer class observes changes in the DOM, fires
event-mutations
event, mark view elements as changed and callrender
. Because all mutated nodes are marked as "to be rendered" and therender
is called, all changes will be reverted, unless the mutation will be handled by theevent-mutations
event listener. It means user will see only handled changes, and the editor will block all changes which are not handled.
Type Definitions
-
Mutation item for child nodes.
-
Mutation item for text.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.