Typedef

MapperModelToViewPositionEventData (engine/conversion)

@ckeditor/ckeditor5-engine/src/conversion/mapper

typedefobject

Data pipeline object that can store and pass data between callbacks. The callback should add the viewPosition value to that object with calculated the view position.

Filtering

Properties

  • isPhantom : boolean | undefined

    Should be set to true if the model position to map is pointing to a place in model tree which no longer exists. For example, it could be an end of a removed model range.

  • mapper : Mapper

    Mapper instance that fired the event.

  • modelPosition : Position

    The model position.

  • viewPosition : Position | undefined

    The callback should add the viewPosition value to that object with calculated the view position.