在IE和Edge上,TinyMce 5.0.14不能执行SpellCheck错误

时间:2019-11-01 12:35:12

标签: c# tinymce-plugins

我们正尝试使用以下配置将TinyMce版本升级到5.0.14,除了IE11和Edge浏览器上的拼写检查插件错误外,所有其他功能都可以,Chrome很好。因此,拼写检查图标不会出现在工具栏上。

nanospell / plugin.js第43行中出现JS错误:

var Menu = exports.tinymce.ui.Menu;

错误:SCRIPT5007:无法获取未定义或空引用的属性“菜单”

tinyMCEFeatures [“ Full”] = {         模式:“ specific_textareas”,         editor_selector:“ tinyMceFull”,         add_unload_trigger:否,         插件:[             “ advlist自动链接自动保存链接图像列表charmap打印预览小时锚分页符”,             “搜索替换字数可视块视觉字符代码全屏插入日期时间媒体无中断”,             “表方向图释模板textcolor粘贴textcolor colorpicker textpattern”         ]

    toolbar1: "bold italic underline | subscript superscript charmap | cut copy paste | undo redo | alignleft aligncenter alignright alignjustify | searchreplace | nanospell",
    toolbar2: "formatselect fontselect fontsizeselect | bullist numlist | outdent indent blockquote | link unlink anchor image | preview | forecolor backcolor | table | hr removeformat | print fullscreen | nonbreaking pagebreak",
    external_plugins: { "nanospell": "plugins/nanospell/plugin.js" },
    nanospell_server: "asp.net",
    height: 250,
    menubar: false,
    toolbar_items_size: 'small',
    browser_spellcheck: false,
    gecko_spellcheck: false,
    statusbar: false,
    setup: function (ta) {
        $.fn.tinyMceKeyPress(ta, $isInLine);
    }
};

0 个答案:

没有答案