问题描述
限时送ChatGPT账号..我目前正在使用带有 jQuery 包的 TinyMCE 4.0.5 并注意到拼写检查不起作用
I am currently using TinyMCE 4.0.5 with jQuery package and noticed that spell check is not working
我正在使用一个简单的设置
i am using a simple set up
tinymce.init({
selector: "textarea",
plugins : "spellchecker",
});
通过此设置,我可以在工具"下看到拼写检查"选项,但是当我单击拼写检查"时,它会引发错误'错误:一般'
With this set up i can see the option 'SpellCheck' under 'Tools' but when i click on 'SpellCheck' it throws an error 'Error: GENERAL'
错误日志中也有错误文件不存在:PATH/tinymce/js/tinymce/plugins/spellchecker//
Also there is an error in the error log "File does not exist: PATH/tinymce/js/tinymce/plugins/spellchecker//
但是我可以在上面的路径中看到以下文件路径/tinymce/js/tinymce/plugins/spellchecker/plugin.min.js
but i can see the following file in the above path PATH/tinymce/js/tinymce/plugins/spellchecker/plugin.min.js
推荐答案
根据我在别处找到的内容,拼写检查器插件由 Google 服务提供支持 - 该服务已停用.所以目前似乎没有集成的 TinyMCE 拼写检查解决方案.
According to what I've found elsewhere, the spellchecker plugin was powered by Google service - which has been retired. So at this time there does not appear to be an integrated TinyMCE spellchecker solution.
但是,您可以通过执行以下操作来启用浏览器的内置拼写检查器:
However, you CAN enable the browser's built-in spellchecker by doing the following:
tinymce.init({
browser_spellcheck : true,
});
请务必从工具栏和插件列表中删除拼写检查器.
Be sure to remove spellchecker from your toolbar and your plugins list.
这篇关于TinyMCE 4.0.5 拼写检查不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论