8
0
Pārlūkot izejas kodu

Docs: Updated API docs. [skip ci]

Piotrek Koszuliński 7 gadi atpakaļ
vecāks
revīzija
f7b4f43aad
1 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 6 6
      packages/ckeditor5-engine/src/model/schema.js

+ 6 - 6
packages/ckeditor5-engine/src/model/schema.js

@@ -582,16 +582,16 @@ export default class Schema {
 		}, { priority: 'high' } );
 	}
 
-	/* eslint-disable max-len */
 	/**
 	 * Returns the lowest {@link module:engine/model/schema~Schema#isLimit limit element} containing the entire
-	 * selection or the root otherwise.
+	 * selection/range/position or the root otherwise.
 	 *
-	 * @param {module:engine/model/selection~Selection|module:engine/model/documentselection~DocumentSelection|module:engine/model/range~Range|module:engine/model/position~Position} selectionOrRangeOrPosition
-	 * Selection which returns the common ancestor.
-	 * @returns {module:engine/model/element~Element}
+	 * @param {module:engine/model/selection~Selection|module:engine/model/documentselection~DocumentSelection|
+	 * module:engine/model/range~Range|module:engine/model/position~Position} selectionOrRangeOrPosition
+	 * The selection/range/position to check.
+	 * @returns {module:engine/model/element~Element} The lowest limit element containing
+	 * the entire `selectionOrRangeOrPosition`.
 	 */
-	/* eslint-enable max-len */
 	getLimitElement( selectionOrRangeOrPosition ) {
 		let element;