Module

engine/model/position

@ckeditor/ckeditor5-engine/src/model/position

module

Filtering

Classes

  • Position

    Represents a position in the model tree.

Type Definitions

  • PositionRelation

    A flag indicating whether this position is 'before' or 'after' or 'same' as given position. If positions are in different roots 'different' flag is returned.

  • PositionStickiness

    Represents how position is "sticking" with neighbour nodes. Used to define how position should be transformed (moved) in edge cases. Possible values: 'toNone', 'toNext', 'toPrevious'.

Functions