Jump to:

23487 Posts in 18996 Topics by 2878 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 13019 Views
  • r_jake
    Community Member
    5 Posts

    Re: [SOLVED] TinyMCE - Adding font, size and colour Link to this post

    Could you please give a breakdown of how you got this to work? I don't fancy the upgrade to the RC.

    So far I have added:

    new HtmlEditorField_button("forecolorpicker","forecolor",_t('HtmlEditorField.FORECOLORPICKER', "Change text color")),

    to HtmlEditorField.php

    and have tried adding


    to the theme_advanced_buttons1 array in tinymce.template.js

    The button appears, and a picker pops up when clicked, but applying the colour has no affect.

    Could you please give me a breakdown of the code you got to work? Currently I have the typography.css doc applying colour to the text - should this be disabled for it to work?


  • steve_nyhof
    Community Member
    224 Posts

    Re: [SOLVED] TinyMCE - Adding font, size and colour Link to this post

    How is this done in 2.3.3 and the LeftAndMain.php file?

Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.