Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CKEditor 3.6.3 Enable browser spellcheck and disable context menu

I'm trying to get a spellcheck into a very bare bones implementation of CKEditor. I've disabled ALL the toolbars and plugins, so we're just left with a simple text box that creates basic HTML.

Is it possible re-enable the browser/OS spellchecking?

The CKEditor contextual menu is also pretty useless. I wouldn't mind getting rid of that too if that's possible.

like image 842
nicholas Avatar asked Jan 17 '23 01:01

nicholas


1 Answers

There's a config setting that disables the built-in spell checker if a browser provides one. It's set to true by default, try setting it to false.

config.disableNativeSpellChecker = false;

You can try disabling the contextmenu plugin:

config.removePlugins = 'contextmenu';
like image 90
codewaggle Avatar answered Jan 18 '23 14:01

codewaggle