Bläddra i källkod

Update addMarker event docs.

Maciej Gołaszewski 6 år sedan
förälder
incheckning
ef77a755f9
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      packages/ckeditor5-engine/src/conversion/downcastdispatcher.js

+ 3 - 3
packages/ckeditor5-engine/src/conversion/downcastdispatcher.js

@@ -556,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.