 |

matrix
User
Apr 3, 2008, 2:23 PM
Post #1 of 5
(291 views)
Shortcut
|
|
Limit buttons in TinyMCE3?
|
Can't Post
|
|
Which is the file to modify for limiting access to some of the tools in TinyMCE3? 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! Happy Interactive Tools product user since 1999
|
|
|  |
 |

Dave
Staff
/ Moderator

Apr 3, 2008, 2:49 PM
Post #2 of 5
(289 views)
Shortcut
|
|
Re: [matrix] Limit buttons in TinyMCE3?
[In reply to]
|
Can't Post
|
|
It's in /lib/menus/default/edit_functions.php. Search for "tinyMCE.init" and look for these lines just below:
// 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. :) Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

matrix
User
Apr 3, 2008, 3:20 PM
Post #3 of 5
(283 views)
Shortcut
|
|
Re: [Dave] Limit buttons in TinyMCE3?
[In reply to]
|
Can't Post
|
|
Wonderful! Thank you. Happy Interactive Tools product user since 1999
|
|
|  |
 |

roddruce
User
Apr 27, 2008, 10:02 PM
Post #4 of 5
(216 views)
Shortcut
|
|
Re: [Dave] Limit buttons in TinyMCE3?
[In reply to]
|
Can't Post
|
|
I need to do the same and I applied the changes as per your instructions, Dave, but the buttons I wanted removed still show up. Is there some other code to be changed or plugins to be removed? Rod Five minutes later... 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",
(This post was edited by roddruce on Apr 27, 2008, 10:14 PM)
|
|
|  |
 |

Dave
Staff
/ Moderator

Apr 28, 2008, 9:17 AM
Post #5 of 5
(202 views)
Shortcut
|
|
Re: [roddruce] Limit buttons in TinyMCE3?
[In reply to]
|
Can't Post
|
|
Glad it's working! Let me know if you run into any more troubles with it. It's strange that adding the extra divider broke it. I couldn't re-create that on my end but it may have been fixed in a more recent TinyMCE version. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
|