2010-12-11 95 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