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
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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
OK
foudn the trick
leftAdmman
HtmlEditorConfig::get('cms')->insertButtonsBefore('formatselect', 'styleselect', 'forecolor');
I'm trying to get this to work as well -- what file did you change, and where did you put that line?
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.
foudn the trick
_______________
online movies