CKEditor 3.6.3 Enable browser spellcheck and disab

2019-06-25 13:52发布

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.

1条回答
啃猪蹄的小仙女
2楼-- · 2019-06-25 14:34

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';
查看更多
登录 后发表回答