[英]how to disable ckeditor 3 auto spellchecker?
I've installed CKEditor 3.0 ,it work nice , but I want to disable the auto spellchecker I notice when I'm writing some words in the editor it manages to connect to "svc.spellchecker.net" to make spell check 我已经安装了CKEditor 3.0,它工作得很好,但是我想禁用自动拼写检查器,当我在编辑器中编写一些单词时,它会设法连接到“svc.spellchecker.net”以进行拼写检查
do you know any way to stop that feature ? 你知道有什么方法可以阻止这个功能吗?
thanks in advance 提前致谢
你想要的选项是scayt_autoStartup
Better disable the plugin in config.js 最好在config.js中禁用插件
config.removePlugins = 'scayt'; config.removePlugins ='scayt';
This is the way I've used: 这是我用过的方式:
CKEDITOR.editorConfig = function (config) {
// Disable spellchecker
config.scayt_autoStartup = false;
// Other configurations
config.htmlEncodeOutput = true;
config.enterMode = CKEDITOR.ENTER_BR;
config.shiftEnterMode = CKEDITOR.ENTER_BR;
config.toolbar =
[
['Bold', 'Italic', '-', 'Link', 'Unlink']
];
config.removePlugins = 'elementspath,save,font, maximize, resize, scayt';
config.filebrowserBrowseUrl = '/boDocumentos';
config.filebrowserUploadUrl = '/boDocumentos/upload';
config.filebrowserImageWindowWidth = '640';
config.filebrowserImageWindowHeight = '720';
}; };
just set scayt_autoStartup = false; 只需设置scayt_autoStartup = false;
window.addEvent('domready',function(){
var CKEditor = $jq('textarea.ckEditor');
// CKEditor
CKEditor.ckeditor({
//*
disableNativeSpellChecker:true,
scayt_autoStartup:false,
toolbar:[
['Bold','Italic','Underline','Strike'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Undo','Redo'], ....
文档建议您在CKEDITOR.config中将disableNativeSpellChecker
设置为true。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.