开发者

How to use TinyMCE plugin in Plone using Products.TinyMCE?

开发者 https://www.devze.com 2023-01-13 15:39 出处:网络
I have just packaged my plugin for TinyMCE to distribute it along with Plone. 开发者_StackOverflow社区But how to tell TinyMCE in Plone to use my plugin? I checked site setup / addons / tinymce - ther

I have just packaged my plugin for TinyMCE to distribute it along with Plone.

开发者_StackOverflow社区But how to tell TinyMCE in Plone to use my plugin? I checked site setup / addons / tinymce - there are some options for buttons, styles etc - but I don't see anything related with plugins.

How to configure it using Plone, not plain TinyMCE.


To use a plug-in with tinymce just add it to the init:

  tinyMCE.init({
    theme : "advanced",
    elements: "ta",
    mode : "textareas",
    plugins : "ibrowser", //plug-in list
    theme_advanced_buttons3_add : "ibrowser"
  });
0

精彩评论

暂无评论...
验证码 换一张
取 消