I'm looking for a way to automaticly apply a class to an element.
I found the addClass function.
Can anybody help tell me how to use this?
I added the code below to my config JS but it doesn't work.
var element = new CKEDITOR.dom.element( 'div' ); element.addClass( 'classA' ); // <div class="classA">