I apologize if this question was asked earlier, I tried to search / search here / browse the CKEditor forums and not come up with anything that I can understand and implement (sorry, I'm not that great for this JavaScript stuff)
Basically, I want to add one custom option to the drop-down list of the CKEditor format, it should create a range with a class, as shown below:
<span class="custom-font"></span>
I tried using below in the "config.js" file, but it does not work:
config.format_tags = 'p;h1;h2;h3;h4;h5;h6;pre;address;div;span' config.format_span = { element : 'span', attributes : { 'class' : 'cutsom-font' } };
Can someone point me in the right direction?
source share