Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Content Editor Discussions

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

tiny mce 2.3.2 / template


Reply

5 Posts   2281 Views

Avatar
erwanpia

9 July 2009 at 12:55am Community Member, 63 Posts

hi, I can't find the tinemce.template file in 2.3.2

tried to configure in HtmlEditorField_Toolbar, no success

what's the trick ?

I would like to add forecolor picker to tinymce ?

Thanks

Avatar
erwanpia

9 July 2009 at 12:59am Community Member, 63 Posts

OK

foudn the trick

leftAdmman

HtmlEditorConfig::get('cms')->insertButtonsBefore('formatselect', 'styleselect', 'forecolor');

Avatar
renenoel

8 October 2009 at 4:19pm Community Member, 3 Posts

I'm trying to get this to work as well -- what file did you change, and where did you put that line?

Avatar
moloko_man

20 November 2009 at 6:39am Community Member, 72 Posts

The easy ways to add buttons to TinyMCE is to add the following lines into your mysite/_config.php file

HtmlEditorConfig::get('cms')->insertButtonsAfter('formatselect', 'fontsizeselect');
HtmlEditorConfig::get('cms')->insertButtonsAfter('fontsizeselect', 'forecolor');

For more info you can read Banal's comments on this post: [url]http://silverstripe.org/upgrading-silverstripe/show/266108#post266108[/url]

I'm trying to figure out how to add buttons to tinyMCE in the Blog pages. Let me know if you have any info on how to do that.

Avatar
danova

22 December 2009 at 10:39am (Last edited: 16 January 2010 2:14am), Community Member, 4 Posts

foudn the trick
_______________
[url=http://www.watch-movies-online.tv] online movies[/url]