Is there anyway/how can I make rangy's CSSClassApplier only toggle an element, not a class.
I tried:
var applier = rangy.createCssClassApplier(null, {
elementTagName: 'strong'
});
But is doesn't work.
Is there anyway/how can I make rangy's CSSClassApplier only toggle an element, not a class.
I tried:
var applier = rangy.createCssClassApplier(null, {
elementTagName: 'strong'
});
But is doesn't work.
Yes, I'm afraid the CSS class applier revolves entirely around CSS classes so this won't work. There will be a more generic styling module in the future.