2010-12-11 93 views
0

如何为CKEditor添加俄语拼写检查或启用Firefox默认拼写检查程序?CKEditor俄语拼写检查

在FCKeditor中,方法FCKConfig.FirefoxSpellChecker = true;工作,但在CKEditor中该方法不再可用。

回答

3

http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.disableNativeSpellChecker

禁用内置的拼写检查打字时在浏览器(目前Firefox和Safari浏览器只)本机可用。

即使单词建议不会出现在CKEditor上下文菜单中,该功能对帮助快速识别拼写错误的单词很有用。

由于其他浏览器的限制,此设置目前仅与Firefox兼容。 定义于:plugins/wysiwygarea/plugin.js。

config.disableNativeSpellChecker = false;

1

禁用自动拼写检查插件即时拼写检查

config.scayt_autoStartup = false; 

禁止通过浏览器检查标准咒语禁令:

config.disableNativeSpellChecker = false; 

禁用命名scayt插件,并禁止以更换上下文菜单:

config.removePlugins = 'scayt'; 

隐藏按钮:

config.removeButtons = 'Scayt'; 
+0

它需要额外的步骤删除右键菜单中的CKEditor的后续版本,这个工作对我来说: config.removePlugins ='liststyle,tabletools,scayt,menubutton,contextmenu'; http://ckeditor.com/forums/CKEditor-3.x/Disable-context-menu – sekrett 2017-03-14 06:35:48