DeltaFactory (engine/model/delta)
@ckeditor/ckeditor5-engine/src/model/delta/deltafactory
class
A factory class for creating operations.
Delta is a single, from the user action point of view, change in the editable document, like insert, split or rename element. Delta is composed of operations, which are unit changes needed to be done to execute user action.
Multiple deltas are grouped into a single Batch
.
Filtering
Methods
Static methods
-
fromJSON( json, doc ) → InsertDelta
static
Creates InsertDelta from deserialized object, i.e. from parsed JSON string.
-
register( Delta )
static
Registers a class for delta factory.
Parameters
Delta : function
A delta class to register.