Typedef

ModelApplyOperationEvent (engine/model)

@ckeditor/ckeditor5-engine/src/model/model

typedefDecoratedMethodEvent<Model, 'applyOperation'>

Fired every time any operation is applied on the model using applyOperation.

Note that this event is suitable only for very specific use-cases. Use it if you need to listen to every single operation applied on the document. However, in most cases event-change should be used.

A few callbacks are already added to this event by engine internal classes:

  • with highest priority operation is validated,
  • with normal priority operation is executed,
  • with low priority the Document updates its version,
  • with low priority LivePosition and LiveRange update themselves.

Filtering

Fired by