How do i add extra button on the toolbars such as font size, font style in css, font color and so on?
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.
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 ???
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:
http://tinymce.moxiecode.com/punbb/
Prabhjeet, this might be what you are after:
http://tinymce.moxiecode.com/punbb/viewtopic.php?id=659
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.
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?
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! :)
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?
tinymce is now upgraded to v3 so you can make use of the moxiecode tinymce api/plugins more easily :)