Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/400.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript TinyMCE上未显示表格控件_Javascript_Tinymce_Tinymce 4 - Fatal编程技术网

Javascript TinyMCE上未显示表格控件

Javascript TinyMCE上未显示表格控件,javascript,tinymce,tinymce-4,Javascript,Tinymce,Tinymce 4,我有下面的代码来使用TinyMCE,除了tablecontrols部分之外,它都可以工作 有人能看出我哪里做错了吗 tinymce.init({ selector: ".wysiwyg", plugins: "textcolor,table", menubar : false, statusbar: false, toolbar1: "bold italic underline | numlist bullist outdent indent | alig

我有下面的代码来使用TinyMCE,除了tablecontrols部分之外,它都可以工作

有人能看出我哪里做错了吗

tinymce.init({
    selector: ".wysiwyg",
    plugins: "textcolor,table",
    menubar : false,
    statusbar: false,
    toolbar1: "bold italic underline | numlist bullist outdent indent | alignleft aligncenter alignright alignjustify | link",
    toolbar2: "hr | fontselect | fontsizeselect | forecolor backcolor | tablecontrols",
    setup: function(editor) {
        editor.on('change', function(e) {
            $(".wysiwyg").html(editor.getContent());
        });
    }
});

我认为应该用空格替换plugins值中的逗号,如

插件:“textcolor表”

我正在使用下面的

。。。。 插件:“链接图像代码粘贴表”, 梅努巴:错, 工具栏1:“撤消重做|粗体斜体|链接图像表|代码”,