CKEditor howto enable Spell Checker

If you are using the CKEditor in CS-Cart then both native browser spell checking and also the integrated CK spell checker are turned off.



To enable the native browser spell checker add the following line [ disableNativeSpellChecker:false, ] to editor configuration file: js/editors/ckeditor.editor.js


CKEDITOR.replace(elm.attr('id'), {
disableNativeSpellChecker:false,
toolbar: 'Custom',
toolbar_Custom: [['Format','Font','FontSize', ..................................................
.......................................................................................................................
});




once you have done this then reload/refresh your browser, you will now have native browser spell checking.



If you wish to use the integrated CK Editor (connects to webspellchecker.net) spell checking this can be done with following changes:

disableNativeSpellChecker:true,

scayt_autoStartup:true

add this to toolbar_Custome: '-','SpellChecker','Scayt'



follow exmaple for Integrated spell checking: js/editors/ckeditor.editor.js


CKEDITOR.replace(elm.attr('id'), {
disableNativeSpellChecker:true,
scayt_autoStartup:true,
toolbar: 'Custom',
toolbar_Custom: [['Format','Font','FontSize', 'Bold','Italic','Underline','TextColor','BGColor','-','Link','Image','-','NumberedList','BulletedList','Indent','Outdent','JustifyLeft','JustifyCenter','JustifyRight','-','Source','-','SpecialChar','Subscript','Superscript','-','SpellChecker', 'Scayt']],
...............................................................
.................................................................
.................................................................................
.....................................................................................
});




Documentation for the integrated CKEditor Spell checker