【发布时间】:2017-11-28 05:57:36
【问题描述】:
如何为CKEditor添加俄语拼写检查或启用Firefox默认拼写检查?
在 FCKeditor 中,方法 FCKConfig.FirefoxSpellChecker = true; 有效,但在 CKEditor 中,该方法不再可用。
【问题讨论】:
标签: internationalization ckeditor spell-checking
如何为CKEditor添加俄语拼写检查或启用Firefox默认拼写检查?
在 FCKeditor 中,方法 FCKConfig.FirefoxSpellChecker = true; 有效,但在 CKEditor 中,该方法不再可用。
【问题讨论】:
标签: internationalization ckeditor spell-checking
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.disableNativeSpellChecker
在浏览器(目前仅限 Firefox 和 Safari)中输入时禁用内置拼写检查器。
即使单词建议不会出现在 CKEditor 上下文菜单中,此功能也有助于快速识别拼写错误的单词。
由于其他浏览器的限制,此设置目前仅与 Firefox 兼容。 定义在:plugins/wysiwygarea/plugin.js。
config.disableNativeSpellChecker = false;
【讨论】:
禁用自动检查拼写插件scayt:
config.scayt_autoStartup = false;
禁用浏览器对标准拼写检查的禁令:
config.disableNativeSpellChecker = false;
禁用命名的scayt插件并禁止替换上下文菜单:
config.removePlugins = 'scayt';
隐藏按钮:
config.removeButtons = 'Scayt';
【讨论】: