Limit buttons in TinyMCE3?
5 posts by 3 authors in: Forums > CMS Builder
Last Post: April 28, 2008 (RSS)
By matrix - April 3, 2008
We'd like to allow the editor for some fields, but can't do it without limitations. We feel we have a responsibility to the client not to allow staff to play with all the fun stuff there and break their nice, new design. It's happened before...too tempting, apparently.
[:)]
Thanks!
Re: [matrix] Limit buttons in TinyMCE3?
By Dave - April 3, 2008
// Define buttons: Button codes: http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference
theme_advanced_buttons1 : "formatselect,fontsizeselect,bold,italic,underline, ...
theme_advanced_buttons2 : "forecolor,backcolor,|,link,unlink,anchor,|,hr,image, ...
Don't forget to make a backup copy of the file first. Hope that helps! Let me know if you need anything else. :)
interactivetools.com
Re: [Dave] Limit buttons in TinyMCE3?
By matrix - April 3, 2008
Re: [Dave] Limit buttons in TinyMCE3?
By roddruce - April 28, 2008 - edited: April 28, 2008
Is there some other code to be changed or plugins to be removed?
Rod
Five minutes later...[/#ff0000]
The buttons I wanted removed are gone now, I didn't edit correctly...
Original code: |,hr,image,media,table,|,pastetext,pasteword,|,code",
Wouldn't work this way: |,hr,|,pastetext,pasteword,|,code",
Works this way: |,hr,pastetext,pasteword,|,code",
Re: [roddruce] Limit buttons in TinyMCE3?
By Dave - April 28, 2008
interactivetools.com