There are times when you’ll want to use a WYSIWYG editor (easy addition of tables, links, etc.) but want to limit the amount of styling available to your clients. This is easier than you think.
1. Open the file:
/cmsAdmin/lib/wysiwyg.php
- make a backup before making any changes.
2 . Search for:
theme_advanced_buttons1 : "formatselect
The whole code block is actually:
theme_advanced_buttons1 : "formatselect,fontsizeselect,bold,italic,underline,|,justifyleft,justifycenter,justifyright,|,bullist,numlist,|,outdent,indent,|,removeformat,fullscreen", theme_advanced_buttons2 : "forecolor,backcolor,|,link,unlink,anchor,|,hr,image,media,table,|,pastetext,pasteword,|,code,|,spellchecker"
This is where menu functions are enabled. If you want to disable one of the functions, just delete it from the list (don’t forget to delete the comma also). You can remove the <!– temporarily to display the code more clearly.
|