how to disable ckeditor 3 auto spellchecker?

坚强是说给别人听的谎言 提交于 2019-12-07 16:12:20

问题


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

do you know any way to stop that feature ?

thanks in advance


回答1:


The option that you want is scayt_autoStartup




回答2:


Better disable the plugin in config.js

config.removePlugins = 'scayt';




回答3:


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';

};




回答4:


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'], ....



回答5:


The documentation suggests that you set the disableNativeSpellChecker to true in CKEDITOR.config.



来源:https://stackoverflow.com/questions/2944509/how-to-disable-ckeditor-3-auto-spellchecker

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!