21304 Posts in 5736 Topics by 2603 members
| Go to End | Next > | |
| Author | Topic: | 9225 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!
| 9225 Views | ||
| Go to Top | Next > |

