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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Content Editor Discussions /

Forum for content editors and CMS users.

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

tiny mce 2.3.2 / template


Go to End


5 Posts   3716 Views

Avatar
erwanpia

Community Member, 63 Posts

9 July 2009 at 12:55am

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

Community Member, 63 Posts

9 July 2009 at 12:59am

OK

foudn the trick

leftAdmman

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

Avatar
renenoel

Community Member, 3 Posts

8 October 2009 at 4:19pm

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

Community Member, 72 Posts

20 November 2009 at 6:39am

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: http://silverstripe.org/upgrading-silverstripe/show/266108#post266108

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

Community Member, 4 Posts

22 December 2009 at 10:39am

Edited: 16/01/2010 2:14am

foudn the trick
_______________
online movies