[英]Table controls not showing on TinyMCE
我有以下代碼來使用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());
});
}
});
我認為您應該使用如下空格替換插件值中的逗號
插件:“ textcolor table”,
我正在使用以下
....插件:“鏈接圖像代碼粘貼表”,菜單欄:false,toolbar1:“撤消重做|粗斜體|鏈接圖像表|代碼”,....
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.