how to disable ckeditor 3 auto spellchecker?
I've installed CKEditor 3.0 ,it work nice , but I want to disable t开发者_Go百科he 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
do you know any way to stop that feature ?
thanks in advance
The option that you want is scayt_autoStartup
Better disable the plugin in config.js
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;
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'], ....
The documentation suggests that you set the disableNativeSpellChecker
to true in CKEDITOR.config.
精彩评论