Report an issue
Typedef

transformationContext (engine/model/delta)

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

typedef
Object

Object containing values and flags describing context of a transformation.

Filtering

Properties

  • Model document which is a context for transformations. Available only if useAdditionalContext is true.

  • 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 if useAdditionalContext is true.

  • forceWeakRemove : Boolean | undefined

    Whether RemoveOperation should be always more important than other operations. Available only if useAdditionalContext is true.

  • insertBefore : Boolean | undefined

    Used when transforming MoveOperations If two MoveOperations target to the same position, insertBefore is used to resolve such conflict. This flag is set and used internally by transformation algorithms. Available only if useAdditionalContext is true.

  • isStrong : Boolean

    Whether transformed deltas are more (true) or less (false) important than deltas to transform by.

  • 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 if useAdditionalContext is true.