Jump to:

520 Posts in 248 Topics by 263 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » updating TinyMCE editor

Forum for content editors and CMS users.

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

Page: 1
Go to End
Author Topic: 2199 Views
  • Pierre
    Avatar
    Community Member
    3 Posts

    updating TinyMCE editor Link to this post

    Has anyone updated the editor with some of the other modules available. The basic set up does not have the capability I require with font colours and management

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: updating TinyMCE editor Link to this post

    Hi Pierre

    It's very simple to enable extra features of tiny MCE. There are plenty of reasons why giving clients control over font color/settings etc. is a really bad idea for design/markup reasons, which is why they are disabled by default, but I'll assume you know all that already

    go to cms/javascript/tinymce.template.js

    Go to line 32/33/34 and just add the names of the buttons you want on the tool bar. You can find a whole list of the buttons available on the TinyMCE side.

    Hope that helps.

  • xcommum
    Avatar
    Community Member
    10 Posts

    Re: updating TinyMCE editor Link to this post

    This was very helpful, thank you. Took awhile to find the button control code for tinymce on their site, but eventually I found it and it's easy to add any any new icons for tools to the toolbar (including font color). It really should be in there by default, and if you dont like it or it causes problems then you can easily remove it, but really.. things like font color should definitely be there from the get go.

    I would post your recommendation on this in a more public spot if you can, so more people know of the availability of adding on tools and how to do it, and how easy it really is.

    Thanks again, Cheers.

    Martin

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: updating TinyMCE editor Link to this post

    Hi Martin

    I think i will add it as a snippet to http://www.ssbits.com

    Thanks for the suggestion!

    2199 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.