transformationContext (engine/model/delta)
@ckeditor/ckeditor5-engine/src/model/delta/transform
Object containing values and flags describing context of a transformation.
Filtering
Properties
-
Model document which is a context for transformations. Available only if
useAdditionalContextistrue. -
forceNotSticky : Boolean | undefinedUsed when transforming sticky MoveOperation. If set to
true,isStickyflag is discarded during transformations. This flag is set and used internally by transformation algorithms. Available only ifuseAdditionalContextistrue. -
forceWeakRemove : Boolean | undefinedWhether
RemoveOperationshould be always more important than other operations. Available only ifuseAdditionalContextistrue. -
insertBefore : Boolean | undefinedUsed when transforming
MoveOperations If twoMoveOperations target to the same position,insertBeforeis used to resolve such conflict. This flag is set and used internally by transformation algorithms. Available only ifuseAdditionalContextistrue. -
isStrong : BooleanWhether transformed deltas are more (
true) or less (false) important than deltas to transform by. -
useAdditionalContext : BooleanWhether additional context should be evaluated and used during transformations.
-
wasAffected : Map | undefinedUsed to evaluate
insertBeforeflag. This map is set and used internally by transformation algorithms. Available only ifuseAdditionalContextistrue.