Jump to:

5554 Posts in 1742 Topics by 1227 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Possible to add TinyMCE plugins?

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

Page: 1
Go to End
Author Topic: 1653 Views
  • Brig
    Avatar
    Community Member
    26 Posts

    Possible to add TinyMCE plugins? Link to this post

    Hello all

    Is it possible to add a third party plugin (SMImage) to the TinyMCE in SS?

    The plugin I have is designed for TinyMCE, http://www.synasys.de/index.php?id=46.

    I found this superb tutorial site http://www.ssbits.com/customising-the-wysywig-editor-in-v2-3-2-tinymce/ but the instructions here doesn't work for me with this plugin.

    It's saying to add this line to the _config.php file:

    HtmlEditorConfig::get('cms')->enablePlugins('smimage');

    Then add this line which should add the button for the new plugin in the TinyMCE editor:

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

    I've placed the plugin in jsparty\tiny_mce2\plugins\smimage

    When I try this nothing happens.

    Is this the correct way of doing it? Am I doing something wrong or maybe third party plugins won't work with SS?

    EDIT: Forgot to mention that I'm using SS Version 2.3.3.

  • Zooney
    Avatar
    Community Member
    9 Posts

    Re: Possible to add TinyMCE plugins? Link to this post

    I'm gonna give this a BUMP... ...'cause I want to know too.

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