CKEditor: how to hide the spell check button

I ruthlessly removed buttons / plugins, but I just can't find how to remove the spell check button. I managed to remove the SCAYT plugin so that it no longer shows up, but the spellcheck button will not budge:

CKEDITOR.editorConfig = function( config ) {
    config.resize_enabled = false;
    config.removeButtons = 'Cut,Copy,Paste,PasteText,PasteFromWord,Undo,Redo,Anchor,Underline,Strike,Subscript,Superscript,addFile,Image,Table,Styles,Format,Maximize,HorizontalRule,Unlink,Blockquote,Indent,Outdent,RemoveFormat,Source,Spell';
    config.removePlugins = 'about,specialchar,scayt,spellchecker,elementspath,resize';
};

I also tried adding various spellings to remove buttons like SpellChecking, SpellCheck, Spelling, etc. What do i need to install?

+4
source share
1 answer

If you want to just remove the button , but save the plugin, just use:

config.removeButtons = 'Scayt';

Regarding the removal of plugins, the following configuration should complete the task:

config.removePlugins = 'wsc,scayt';
+12
source

Source: https://habr.com/ru/post/1570745/


All Articles