1

正如您所见:TinyMCE有“forecolorpicker backcolorpicker”,但是当我将它们添加为以下代码时,它们什么也不做,我找不到要添加的插件:

    tinymce.init({
    selector: ".editableText",
    inline: true,
    menubar: false,
    toolbar_items_size: 'small',
    plugins: [
        "advlist autolink lists link directionality textcolor visualblocks paste",
        " ",
        ""
    ],
    toolbar: "forecolorpicker backcolorpicker"
});
4

1 回答 1

0

你需要使用这个

toolbar: "forecolor backcolor"

否则tinymce 将无法添加按钮。

于 2013-07-31T08:00:58.467 回答