There are many items in Styles which I would like to remove as either unneeded (RTL, LTR) or redundant (deleted text, which seems to be the same as strikeout), and some other tools which have what seems to be almost exactly the same effect, or which are confusing as to purpose and might overburden the average user.
Is there an easy way to remove unwanted items from the Select menu?
Thanks,
doug
Have you checked this guide,
Have you checked this guide, this page and this SDK sample?
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Thanks for your reply.
Thanks for your reply.
I just looked over the 3 pages and I guess I don't see the info I need there. I see examples of adding some inline and block styles, if you know what they are called. But I don't see how to remove existing ones, or information on what they are called.
Suppose, just for an example, I want to remove the Language:RTL and Language:LTR styles from the Styles menu. How would I go about doing that in config.js? Is there an example of that somewhere?
Thanks,
doug
It looks like the easiest
It looks like the easiest solution to this is to just modify the file styles.js in the ckeditor root directory.
While I don't want to do that in case of upgrades, I'm already customizing config.js somewhat. So I guess it's ok to customize styles.js somewhat.
Then I only have two files to be careful to save and restore in case I need to upgrade the entire ckeditor folder again.
It seems like everything I want to change is right in there...
Does that seem like a reasonable approach? I'm still a newbie with the CKE and want to stick with "best practices." In some places in the docs it advices doing it all in the inline server code to avoid changing the contents of ckeditor at all.
But in styles.js itself it does say, "it is strongly recommended to customize this file to match your website requirements and design properly."
So I guess that's what I'll do, barring other advice.
For one thing, it's the easiest way to actually see the style names I want to remove or modify.
Thanks,
doug