Oskar Wróbel пре 8 година
родитељ
комит
ef3b39e38e
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      packages/ckeditor5-engine/src/controller/datacontroller.js

+ 4 - 0
packages/ckeditor5-engine/src/controller/datacontroller.js

@@ -178,6 +178,10 @@ export default class DataController {
 	 * This method also creates a batch with all the changes applied. If all you need is to parse data, use
 	 * the {@link #parse} method.
 	 *
+	 * **Note** This method is {@link module:utils/observablemixin~ObservableMixin#decorate decorated} which is
+	 * used by some plugins to change the behavior of this method. For example, the collaborative editing plugin changes
+	 * this method’s nature to asynchronous by returning a promise.
+	 *
 	 * @fires set
 	 * @param {String} data Input data.
 	 * @param {String} [rootName='main'] Root name.