I define a style like the following:
var attributes = {'data-link': 'http://www.google.ch', style: 'color: red;'}; var style = new CKEDITOR.style( { element : 'span', attributes : attributes } ); style.type = CKEDITOR.STYLE_INLINE; style.apply(CKEDITOR.instances.editor1.document);
I will create several of those with different data-link attribute values. When I want to check whether the style is active or not for a selection (stylecheckActive()), can I do this without having to know about the value of the attribute data-link for the current selection? Is there a general style which matches all the individual spans with different values?