Jump to:

513 Posts in 209 Topics by 259 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » tiny mce 2.3.2 / template

Forum for content editors and CMS users.

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

Page: 1
Go to End
Author Topic: 2193 Views
  • erwanpia
    Avatar
    Community Member
    63 Posts

    tiny mce 2.3.2 / template Link to this post

    hi, I can't find the tinemce.template file in 2.3.2

    tried to configure in HtmlEditorField_Toolbar, no success

    what's the trick ?

    I would like to add forecolor picker to tinymce ?

    Thanks

  • erwanpia
    Avatar
    Community Member
    63 Posts

    Re: tiny mce 2.3.2 / template Link to this post

    OK

    foudn the trick

    leftAdmman

    HtmlEditorConfig::get('cms')->insertButtonsBefore('formatselect', 'styleselect', 'forecolor');

  • renenoel
    Avatar
    Community Member
    3 Posts

    Re: tiny mce 2.3.2 / template Link to this post

    I'm trying to get this to work as well -- what file did you change, and where did you put that line?

  • moloko_man
    Avatar
    Community Member
    72 Posts

    Re: tiny mce 2.3.2 / template Link to this post

    The easy ways to add buttons to TinyMCE is to add the following lines into your mysite/_config.php file

    HtmlEditorConfig::get('cms')->insertButtonsAfter('formatselect', 'fontsizeselect');
    HtmlEditorConfig::get('cms')->insertButtonsAfter('fontsizeselect', 'forecolor');

    For more info you can read Banal's comments on this post: http://silverstripe.org/upgrading-silverstripe/show/266108#post266108

    I'm trying to figure out how to add buttons to tinyMCE in the Blog pages. Let me know if you have any info on how to do that.

  • danova
    Avatar
    Community Member
    4 Posts

    Re: tiny mce 2.3.2 / template Link to this post

    foudn the trick
    _______________
    online movies

    2193 Views
Page: 1
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.