LIMITING YOUR CLIENT’S OPTIONS IN THE TINYMCE EDITOR - Aug 6th, 2010


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.



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service