Typedef

DowncastReduceChangesEvent (engine/conversion)

@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher

typedef
object

Fired to enable reducing (transforming) changes buffered in the Differ before convertChanges() will fire any conversion events.

For instance, a feature can replace selected DiffItems with a reinsert entry to trigger reconversion of an element when e.g. its attribute has changes. The * DowncastHelpers.elementToStructure() helper is using this event to trigger reconversion of an element when the element, its attributes or direct children changed.

Filtering

Properties

  • args : tuple

  • name : 'reduceChanges'