Kaynağa Gözat

API docs fixes.

Maciej Bukowski 8 yıl önce
ebeveyn
işleme
f645428b21

+ 1 - 1
packages/ckeditor5-engine/src/model/utils/deletecontent.js

@@ -14,7 +14,7 @@ import Range from '../range';
 /**
  * Deletes content of the selection and merge siblings. The resulting selection is always collapsed.
  *
- * @param {module:engine/controller/datacontroller~DataController} dataController The data controller in context of which the insertion
+ * @param {module:engine/model/model~Model} model The model in context of which the insertion
  * should be performed.
  * @param {module:engine/model/selection~Selection} selection Selection of which the content should be deleted.
  * @param {module:engine/model/batch~Batch} batch Batch to which the deltas will be added.

+ 1 - 1
packages/ckeditor5-engine/src/model/utils/getselectedcontent.js

@@ -21,7 +21,7 @@ import Position from '../position';
  *
  *		<quote><h>st</h></quote><p>se</p>
  *
- * @param {module:engine/controller/datacontroller~DataController} dataController The data controller in context of which
+ * @param {module:engine/model/model~Model} model The model in context of which
  * the selection modification should be performed.
  * @param {module:engine/model/selection~Selection} selection The selection of which content will be returned.
  * @returns {module:engine/model/documentfragment~DocumentFragment}

+ 1 - 1
packages/ckeditor5-engine/src/model/utils/insertcontent.js

@@ -22,7 +22,7 @@ import log from '@ckeditor/ckeditor5-utils/src/log';
  * which change the {@link module:engine/model/model~Model#insertContent}
  * method's behavior.
  *
- * @param {module:engine/controller/datacontroller~DataController} dataController The data controller in context of which the insertion
+ * @param {module:engine/model/model~Model} model The model in context of which the insertion
  * should be performed.
  * @param {module:engine/model/documentfragment~DocumentFragment|module:engine/model/item~Item} content The content to insert.
  * @param {module:engine/model/selection~Selection} selection Selection into which the content should be inserted.

+ 1 - 1
packages/ckeditor5-engine/src/model/utils/modifyselection.js

@@ -33,7 +33,7 @@ import { isInsideSurrogatePair, isInsideCombinedSymbol } from '@ckeditor/ckedito
  *
  * **Note:** if you extend a forward selection in a backward direction you will in fact shrink it.
  *
- * @param {module:engine/controller/datacontroller~DataController} dataController The data controller in context of which
+ * @param {module:engine/model/model~Model} model The model in context of which
  * the selection modification should be performed.
  * @param {module:engine/model/selection~Selection} selection The selection to modify.
  * @param {Object} [options]