Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1589 from ckeditor/t/ckeditor5/1346
Browse files Browse the repository at this point in the history
Docs: Fixed docs for `DowncastDispatcher`. Closes ckeditor/ckeditor5#1346.
  • Loading branch information
Reinmar authored Nov 8, 2018
2 parents ab98142 + 29ab4ce commit 412dc45
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/conversion/downcastdispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,14 +495,17 @@ export default class DowncastDispatcher {
*
* @event remove
* @param {Object} data Additional information about the change.
* @param {module:engine/model/position~Position} data.sourcePosition Position from where the range has been removed.
* @param {module:engine/model/range~Range} data.range Removed range (in {@link module:engine/model/document~Document#graveyard
* graveyard root}).
* @param {module:engine/model/position~Position} data.position Position from which the node has been removed.
* @param {Number} data.length Offset size of the removed node.
* @param {Object} conversionApi Conversion interface to be used by callback, passed in `DowncastDispatcher` constructor.
*/

/**
* Fired when attribute has been added/changed/removed from a node. Also fired when collapsed model selection attribute is converted.
* Fired in the following cases:
*
* * when an attribute has been added, changed, or removed from a node,
* * when a node with an attribute is inserted,
* * when collapsed model selection attribute is converted.
*
* `attribute` is a namespace for a class of events. Names of actually called events follow this pattern:
* `attribute:attributeKey:name`. `attributeKey` is the key of added/changed/removed attribute.
Expand Down

0 comments on commit 412dc45

Please sign in to comment.