17688 Posts in 4607 Topics by 2180 members
General Questions
SilverStripe Forums » General Questions » [SOLVED] TinyMCE - Adding font, size and colour
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
| Go to End | Next > | |
| Author | Topic: | 6110 Views |
-
[SOLVED] TinyMCE - Adding font, size and colour

13 January 2009 at 5:31pm Last edited: 28 January 2009 9:06am
Hey everyone!
I'm wondering if anyone has managed to get font, size or colour of text buttons in TinyMCE.
I have tried editing HtmlEditorField and all I ended up with was a JavaScript message 'undefined' when I tried adding 'forecolor'.
Thanks in advance!!
-
Re: [SOLVED] TinyMCE - Adding font, size and colour

13 January 2009 at 7:50pm
What version are you using?
-
Re: [SOLVED] TinyMCE - Adding font, size and colour

14 January 2009 at 1:35am
In 2.3.0 (currently at rc2, shouldnt be too far away from a stable release hopefully!) you can edit the TinyMCE template. I'm not sure you can easily in 2.2.3
-
Re: [SOLVED] TinyMCE - Adding font, size and colour

26 January 2009 at 4:40pm
I really need this! How do I do it in the latest version, if i have to have the latest version to do it??
-
Re: [SOLVED] TinyMCE - Adding font, size and colour

28 January 2009 at 6:05am
Hi,
I'm not too sure what is meant by a text-button - That is a new term to me! From what I understand you want to edit TinyMCE. Have a look at their website @ http://tinymce.moxiecode.comHope that helps
-
Re: [SOLVED] TinyMCE - Adding font, size and colour

28 January 2009 at 9:06am
"font, size or colour of text buttons"
I got it working in the latest version of SilverStripe, by editing the tinymce.template.js file, adding forecolor, fontselect and fontsizeselect to the configuration.
-
Re: [SOLVED] TinyMCE - Adding font, size and colour

28 January 2009 at 9:26am
Okay very cool. Well done!
| 6110 Views | ||
| Go to Top | Next > |

