|
|
@@ -532,7 +532,6 @@ export default class DowncastDispatcher {
|
|
|
* @param {String} data.attributeKey Attribute key.
|
|
|
* @param {*} data.attributeOldValue Attribute value before the change. This is `null` when selection attribute is converted.
|
|
|
* @param {*} data.attributeNewValue New attribute value.
|
|
|
- * @param {module:engine/conversion/modelconsumable~ModelConsumable} consumable Values to consume.
|
|
|
* @param {module:engine/conversion/downcastdispatcher~DowncastConversionApi} conversionApi Conversion interface
|
|
|
* to be used by callback, passed in `DowncastDispatcher` constructor.
|
|
|
*/
|
|
|
@@ -542,7 +541,6 @@ export default class DowncastDispatcher {
|
|
|
*
|
|
|
* @event selection
|
|
|
* @param {module:engine/model/selection~Selection} selection Selection that is converted.
|
|
|
- * @param {module:engine/conversion/modelconsumable~ModelConsumable} consumable Values to consume.
|
|
|
* @param {module:engine/conversion/downcastdispatcher~DowncastConversionApi} conversionApi Conversion interface
|
|
|
* to be used by callback, passed in `DowncastDispatcher` constructor.
|
|
|
*/
|
|
|
@@ -558,17 +556,17 @@ export default class DowncastDispatcher {
|
|
|
* If the marker range is not collapsed:
|
|
|
*
|
|
|
* * the event is fired for each item in the marker range one by one,
|
|
|
- * * consumables object includes each item of the marker range and the consumable value is same as event name.
|
|
|
+ * * `conversionApi.consumable` includes each item of the marker range and the consumable value is same as event name.
|
|
|
*
|
|
|
* If the marker range is collapsed:
|
|
|
*
|
|
|
* * there is only one event,
|
|
|
- * * consumables object includes marker range with event name.
|
|
|
+ * * `conversionApi.consumable` includes marker range with event name.
|
|
|
*
|
|
|
* If selection inside a marker is converted:
|
|
|
*
|
|
|
* * there is only one event,
|
|
|
- * * consumables object includes selection instance with event name.
|
|
|
+ * * `conversionApi.consumable` includes selection instance with event name.
|
|
|
*
|
|
|
* @event addMarker
|
|
|
* @param {Object} data Additional information about the change.
|
|
|
@@ -578,7 +576,6 @@ export default class DowncastDispatcher {
|
|
|
* the marker range was not collapsed.
|
|
|
* @param {module:engine/model/range~Range} data.markerRange Marker range.
|
|
|
* @param {String} data.markerName Marker name.
|
|
|
- * @param {module:engine/conversion/modelconsumable~ModelConsumable} consumable Values to consume.
|
|
|
* @param {module:engine/conversion/downcastdispatcher~DowncastConversionApi} conversionApi Conversion interface
|
|
|
* to be used by callback, passed in `DowncastDispatcher` constructor.
|
|
|
*/
|