Ver código fonte

Docs: updated docs for Mapper events.

Szymon Cofalik 8 anos atrás
pai
commit
022407e354
1 arquivos alterados com 0 adições e 6 exclusões
  1. 0 6
      packages/ckeditor5-engine/src/conversion/mapper.js

+ 0 - 6
packages/ckeditor5-engine/src/conversion/mapper.js

@@ -471,9 +471,6 @@ mix( Mapper, EmitterMixin );
  * @event modelToViewPosition
  * @param {Object} data Data pipeline object that can store and pass data between callbacks. The callback should add
  * `viewPosition` value to that object with calculated {@link module:engine/view/position~Position view position}.
- * @param {module:engine/model/position~Position} data.modelPosition Model position to be mapped.
- * @param {module:engine/view/position~Position} data.viewPosition View position that is a result of mapping
- * `modelPosition` using `Mapper` default algorithm.
  * @param {module:engine/conversion/mapper~Mapper} data.mapper Mapper instance that fired the event.
  */
 
@@ -497,8 +494,5 @@ mix( Mapper, EmitterMixin );
  * @event viewToModelPosition
  * @param {Object} data Data pipeline object that can store and pass data between callbacks. The callback should add
  * `modelPosition` value to that object with calculated {@link module:engine/model/position~Position model position}.
- * @param {module:engine/view/position~Position} data.viewPosition View position to be mapped.
- * @param {module:engine/model/position~Position} data.modelPosition Model position that is a result of mapping
- * `viewPosition` using `Mapper` default algorithm.
  * @param {module:engine/conversion/mapper~Mapper} data.mapper Mapper instance that fired the event.
  */