Page 1 of 1
Limit
Posted: Fri Feb 11, 2005 12:47 am
by mrbs
Is it possible to limit the opportunities in the "TinyMCE" WYSIWYG editor, so the user is limited to a few opportunities according to the design?
BTW This is the only CMS i really like! Thanks alot!
Limit
Posted: Tue Feb 15, 2005 5:35 pm
by Ted
There are other themes that come with the standard TinyMCE distribution. I just used the advanced theme and cut the rest to save some space on the default distribution. It would be very easy to grab TinyMCE, copy over the basic (or whatever it's called) theme from it, and then change the theme type in TinyMCE.module.php.
Re: Limit
Posted: Thu Oct 27, 2005 10:49 pm
by TimothyFoo
Search for this:
Code: Select all
theme : "advanced",
theme_advanced_toolbar_location : "top",
verify_html : "false",
verify_css_classes : "false",
plugins : "table,advhr,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,ibrowser",
theme_advanced_buttons1_add : "fontselect,fontsizeselect,forecolor",
theme_advanced_buttons2_add_before: "cut,copy,paste,separator",
theme_advanced_buttons2_add : "separator,insertdate,inserttime,zoom",
theme_advanced_buttons3_add : "tablecontrols,emotions,iespell,flash,advlink,advhr,ibrowser",
Just cut out the bits you don't want. eg "emotions".
It seems to be working ok for me. I was just searching for the same thing and got the idea while looking at the TinyMCE.module.php file - after readaing Wishy's advice
Re: Limit
Posted: Fri Oct 28, 2005 3:18 am
by iNSiPiD
So, alternatively, could we just copy the advanced theme, rename it to basic, and then strip out the buttons we don't want to display?