最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - CKEditor 3.6.3 Enable browser spellcheck and disable context menu - Stack Overflow

programmeradmin1浏览0评论

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.

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.

Share Improve this question edited Jul 20, 2012 at 15:17 Bill the Lizard 406k212 gold badges574 silver badges892 bronze badges asked Jul 18, 2012 at 19:42 nicholasnicholas 14.6k22 gold badges86 silver badges150 bronze badges 2
  • Is this answer still working for you? Because it doesn't seem to work for me, at least with google chrome... – Kevin Commented May 6, 2014 at 19:31
  • Scratch that, it was a bug with an older version, the latest is working again – Kevin Commented May 6, 2014 at 19:51
Add a ment  | 

1 Answer 1

Reset to default 9

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';
发布评论

评论列表(0)

  1. 暂无评论