8
0
Maciej Bukowski 8 жил өмнө
parent
commit
c3ee662aad

+ 7 - 7
packages/ckeditor5-engine/src/model/model.js

@@ -225,7 +225,7 @@ export default class Model {
 	}
 	}
 
 
 	/**
 	/**
-	 * See {@link module:engine/controller/insertcontent.insertContent}.
+	 * See {@link module:engine/model/utils/insertcontent~insertContent}.
 	 *
 	 *
 	 * @fires insertContent
 	 * @fires insertContent
 	 * @param {module:engine/model/documentfragment~DocumentFragment|module:engine/model/item~Item} content The content to insert.
 	 * @param {module:engine/model/documentfragment~DocumentFragment|module:engine/model/item~Item} content The content to insert.
@@ -236,7 +236,7 @@ export default class Model {
 	}
 	}
 
 
 	/**
 	/**
-	 * See {@link module:engine/controller/deletecontent.deleteContent}.
+	 * See {@link module:engine/model/utils/deletecontent.deleteContent}.
 	 *
 	 *
 	 * Note: For the sake of predictability, the resulting selection should always be collapsed.
 	 * Note: For the sake of predictability, the resulting selection should always be collapsed.
 	 * In cases where a feature wants to modify deleting behavior so selection isn't collapsed
 	 * In cases where a feature wants to modify deleting behavior so selection isn't collapsed
@@ -248,27 +248,27 @@ export default class Model {
 	 *
 	 *
 	 * @fires deleteContent
 	 * @fires deleteContent
 	 * @param {module:engine/model/selection~Selection} selection Selection of which the content should be deleted.
 	 * @param {module:engine/model/selection~Selection} selection Selection of which the content should be deleted.
-	 * @param {Object} options See {@link module:engine/controller/deletecontent~deleteContent}'s options.
+	 * @param {Object} options See {@link module:engine/model/utils/deletecontent~deleteContent}'s options.
 	 */
 	 */
 	deleteContent( selection, options ) {
 	deleteContent( selection, options ) {
 		deleteContent( this, selection, options );
 		deleteContent( this, selection, options );
 	}
 	}
 
 
 	/**
 	/**
-	 * See {@link module:engine/controller/modifyselection.modifySelection}.
+	 * See {@link module:engine/model/utils/modifyselection~modifySelection}.
 	 *
 	 *
 	 * @fires modifySelection
 	 * @fires modifySelection
 	 * @param {module:engine/model/selection~Selection} selection The selection to modify.
 	 * @param {module:engine/model/selection~Selection} selection The selection to modify.
-	 * @param {Object} options See {@link module:engine/controller/modifyselection~modifySelection}'s options.
+	 * @param {Object} options See {@link module:engine/model/utils/modifyselection.modifySelection}'s options.
 	 */
 	 */
 	modifySelection( selection, options ) {
 	modifySelection( selection, options ) {
 		modifySelection( this, selection, options );
 		modifySelection( this, selection, options );
 	}
 	}
 
 
 	/**
 	/**
-	 * See {@link module:engine/controller/getselectedcontent.getSelectedContent}.
+	 * See {@link module:engine/model/utils/getselectedcontent~getSelectedContent}.
 	 *
 	 *
-	 * @fires module:engine/controller/datacontroller~DataController#getSelectedContent
+	 * @fires getSelectedContent
 	 * @param {module:engine/model/selection~Selection} selection The selection of which content will be retrieved.
 	 * @param {module:engine/model/selection~Selection} selection The selection of which content will be retrieved.
 	 * @returns {module:engine/model/documentfragment~DocumentFragment} Document fragment holding the clone of the selected content.
 	 * @returns {module:engine/model/documentfragment~DocumentFragment} Document fragment holding the clone of the selected content.
 	 */
 	 */

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

@@ -4,7 +4,7 @@
  */
  */
 
 
 /**
 /**
- * @module engine/controller/deletecontent
+ * @module engine/model/utils/deletecontent
  */
  */
 
 
 import LivePosition from '../liveposition';
 import LivePosition from '../liveposition';

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

@@ -4,7 +4,7 @@
  */
  */
 
 
 /**
 /**
- * @module engine/controller/getselectedcontent
+ * @module engine/model/utils/getselectedcontent
  */
  */
 
 
 import Range from '../range';
 import Range from '../range';

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

@@ -4,7 +4,7 @@
  */
  */
 
 
 /**
 /**
- * @module engine/controller/insertcontent
+ * @module engine/model/utils/insertcontent
  */
  */
 
 
 import Position from '../position';
 import Position from '../position';
@@ -17,9 +17,9 @@ import log from '@ckeditor/ckeditor5-utils/src/log';
  * Inserts content into the editor (specified selection) as one would expect the paste
  * Inserts content into the editor (specified selection) as one would expect the paste
  * functionality to work.
  * functionality to work.
  *
  *
- * **Note:** Use {@link module:engine/controller/datacontroller~DataController#insertContent} instead of this function.
+ * **Note:** Use {@link module:engine/model/model~Model#insertContent} instead of this function.
  * This function is only exposed to be reusable in algorithms
  * This function is only exposed to be reusable in algorithms
- * which change the {@link module:engine/controller/datacontroller~DataController#insertContent}
+ * which change the {@link module:engine/model/model~Model#insertContent}
  * method's behavior.
  * method's behavior.
  *
  *
  * @param {module:engine/controller/datacontroller~DataController} dataController The data controller in context of which the insertion
  * @param {module:engine/controller/datacontroller~DataController} dataController The data controller in context of which the insertion

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

@@ -4,7 +4,7 @@
  */
  */
 
 
 /**
 /**
- * @module engine/controller/modifyselection
+ * @module engine/model/utils/modifyselection
  */
  */
 
 
 import Position from '../position';
 import Position from '../position';