Skip to content

ckeditor5-elements / ElementSelectableMatcher

Type Alias: ElementSelectableMatcher ​

ts
type ElementSelectableMatcher = ElementMatcher;

Matches the elements that can be selected: the name of a model element (e.g. 'callout'), or a function that returns whether it is for the given element (e.g. element => element.hasAttribute('card')).