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
useAdditionalContext
istrue
. -
forceNotSticky : Boolean | undefined
Used when transforming sticky MoveOperation. If set to
true
,isSticky
flag is discarded during transformations. This flag is set and used internally by transformation algorithms. Available only ifuseAdditionalContext
istrue
. -
forceWeakRemove : Boolean | undefined
Whether
RemoveOperation
should be always more important than other operations. Available only ifuseAdditionalContext
istrue
. -
insertBefore : Boolean | undefined
Used when transforming
MoveOperation
s If twoMoveOperation
s target to the same position,insertBefore
is used to resolve such conflict. This flag is set and used internally by transformation algorithms. Available only ifuseAdditionalContext
istrue
. -
isStrong : Boolean
Whether transformed deltas are more (
true
) or less (false
) important than deltas to transform by. -
useAdditionalContext : Boolean
Whether additional context should be evaluated and used during transformations.
-
wasAffected : Map | undefined
Used to evaluate
insertBefore
flag. This map is set and used internally by transformation algorithms. Available only ifuseAdditionalContext
istrue
.