Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs: Update schema.getLimitElement() param type.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed Jul 4, 2018
1 parent a7b40b7 commit 9a84bb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/model/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,14 +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.
*
* @param {module:engine/model/selection~Selection|module:engine/model/documentselection~DocumentSelection} selectionOrRangeOrPosition
* @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}
*/
/* eslint-enable max-len */
getLimitElement( selectionOrRangeOrPosition ) {
let element;

Expand Down

0 comments on commit 9a84bb2

Please sign in to comment.