|
@@ -619,7 +619,7 @@ export default class Element extends Node {
|
|
|
* Provided patterns should be compatible with {@link module:engine/view/matcher~Matcher Matcher} as it is used internally.
|
|
* Provided patterns should be compatible with {@link module:engine/view/matcher~Matcher Matcher} as it is used internally.
|
|
|
*
|
|
*
|
|
|
* @see module:engine/view/matcher~Matcher
|
|
* @see module:engine/view/matcher~Matcher
|
|
|
- * @param {module:engine/view/matcher~Pattern} patterns Patterns used to match correct ancestor.
|
|
|
|
|
|
|
+ * @param {Object|String|RegExp|Function} patterns Patterns used to match correct ancestor.
|
|
|
* See {@link module:engine/view/matcher~Matcher}.
|
|
* See {@link module:engine/view/matcher~Matcher}.
|
|
|
* @returns {module:engine/view/element~Element|null} Found element or `null` if no matching ancestor was found.
|
|
* @returns {module:engine/view/element~Element|null} Found element or `null` if no matching ancestor was found.
|
|
|
*/
|
|
*/
|