TinyMCE背景荧光笔插件

时间:2018-04-02 09:10:06

标签: jquery tinymce

我已将下面的工具栏和插件选项添加到我的TinyMCE中:

toolbar: "undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table | image | link | fontselect | fontsizeselect | forecolor backcolor"

plugins:
  - image
  - link
  - textcolor

现在我想添加图片附加的插件:

this pliugin in windows word works like - it adds background highlighter. I also don't know the name of the plugin. So I am unable to google it

1 个答案:

答案 0 :(得分:0)

您应该将backcolor添加到工具栏项列表中:

tinymce.init({
    selector: "textarea",
    [...]
    toolbar: "backcolor"
});