javascript - How do disable options from the Format menu in CKeditor? -
In the Select Format box, you can select title 1, heading 2, etc.
How can I disable some of those options? Is it possible to change their name too? I only want to allow heading 2 and heading 3, and if possible, name them in the title and sub-heading.
I came to know how to name them - in the language file. I edited 'n-au.js' and then set {language: 'en-au'}
, but it did not work.
OK, so I've changed the title under en.js
, And other formats, I'll call it Format_tags: 'p; H3; H4 ''
in config.
Comments
Post a Comment