简体   繁体   中英

By Default to set Enable Spell Check in Ckeditor (SCAYT)

I'm using SCAYT plugin for CKEditor. I need to enable scayt automatically on startup. I have already tried this code

config.scayt_autoStartup = true;

But it doesn't work for my browser. please guide me!

By default, browser native spell check functionality is disabled in the editor. Use the CKEDITOR.config.disableNativeSpellChecker configuration option to enable it:

config.disableNativeSpellChecker = false;

If the question is still actual for you. Using config.scayt_autoStartup = true; in CKEditor config.js file is a correct way to make SCAYT start on the page load. It works properly in IE8+, MS Edge, Chrome, FF, Safari.

If it still doesn't work, check if you are passing a correct CKEditor config.js file on your web page with CKEDitor, as this might be a reason why the parameter doesn't work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM