Jump to:

23481 Posts in 18965 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » TinyMCE and ssbuttons Silverstripe 3

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
Go to End
Author Topic: 335 Views
  • BlueO
    Community Member
    52 Posts

    TinyMCE and ssbuttons Silverstripe 3 Link to this post

    Hi There,

    I'm trying to get the ssbuttons plugin going for a front-end form using the HtmlEditor field. I've got the following in my field setup:

    HtmlEditorConfig::get('reduced')->enablePlugins(array('ssbuttons' => '/framework/thirdparty/tinymce_ssbuttons/editor_plugin_src.js'));
    HtmlEditorConfig::get('reduced')->setButtonsForLine(1, 'sslink', 'unlink');

    which gets me a nice link button button but on pressing it I get this in my chrome console:

    Uncaught TypeError: Object #<jQuerySub> has no method 'openLinkDialog'

    Are there other bits I need to included to get ssbuttons working?



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.