I am getting conflicting documentation on how to customize the Style drop down in CKEditor v 4 (used inside Drupal). Can you tell me which file to adjust?
And while I am here, is there a way to customize CKEditor to do Mediawiki markup?
By the way, I can't find anywhere on the page to do a search through the forums. Am I missing something?
Thanks
I think I am figuring this
I think I am figuring this out, but what I want to do is have a style named "Footnote," and I want it to apply that style to the text.
I have tried " { name : 'Footnote' , element : 'span', styles : { 'background-color' : 'Gray' } }, " and it works, but it just makes the background gray (which is what the style is going to do), but it doesn't actually embed the style.
What I want it to do is embed: "<span class="footnote">"
I tried:
"{ name : 'Footnote' , element : 'span', styles : { 'class' : 'footnote' } },",
but it embeds,
"<span style="class:footnote;">Welcome</span>".
If I do:
{ name : 'Footnote' , element : 'span', styles : { 'footnote' } },
There is nothing in the style dropbown.
Ideas?