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.

Archive /

Our old forums are still available as a read-only archive.

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

TinyMCE


Reply


8 Posts   3307 Views

Avatar
TommyF1

Community Member, 2 Posts

6 March 2008 at 4:02pm

How do i add extra button on the toolbars such as font size, font style in css, font color and so on?

Avatar
Prabhjeet

Community Member, 7 Posts

6 June 2008 at 9:31pm

Where are the developers ???
I have seen in this forum. Many people asking how to add font and color options.
But no one is telling a solid answer.

Is this Forum ???

Avatar
Aaron

Community Member, 63 Posts

8 June 2008 at 2:47pm

Hi Guys,
The Dev forum here is a little slow on activity. SS is fairly young, and most questions related to base code development.
TinyMCE is a third party plugin - it's been around for years and is extremely popular. Check out these forums:
[url]http://tinymce.moxiecode.com/punbb/[/url]
Prabhjeet, this might be what you are after:
[url]http://tinymce.moxiecode.com/punbb/viewtopic.php?id=659[/url]

Avatar
Odeclas

Community Member, 6 Posts

18 June 2008 at 11:48pm

For reference - the documentation of for TinyMCE is here:
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration

and the file you need to edit for the Initialisation process is
tinymce.template.js

in /cms/javascript

I've only tried a couple of options, so not sure what works and what doesn't. For example, 'something' is still stripping out parameters that I think I'm allowing for the param tag.

Avatar
dancrew32

Community Member, 15 Posts

21 June 2008 at 11:54am

Yeah I tried adding fontselect,fontsizeselect", to the end of theme_advanced_buttons: for the tinymce.template.js file and nothing happens.

What gives, SS?

Avatar
Sigurd

Forum Moderator, 628 Posts

16 October 2008 at 8:11pm

We deliberately remove styling as we see it as best practice to have stylesheet-based formatting within the system.

The next version of SilverStripe will contain an updated version of TinyMCE that we hope will make it easier to customise the styles in the stylesheet.

Also, see silverstripe.com/irc - the core devs are around for a realtime chat every week for an hour, which is much more managable to us as a small group, to answer your questions! :)

Avatar
Nivanka

Community Member, 400 Posts

19 October 2008 at 1:04am

Thats sounds good Sigurd.
I also had the same problem, I could add buttons and dropdowns but I am lost in working them out to perform the tasks.
is there anything which I could do about it?

Avatar
Sigurd

Forum Moderator, 628 Posts

30 October 2008 at 8:21pm

tinymce is now upgraded to v3 so you can make use of the moxiecode tinymce api/plugins more easily :)