CKEditor 3.6.3启用浏览器拼写检查并禁用上下文菜单 [英] CKEditor 3.6.3 Enable browser spellcheck and disable context menu

查看:123
本文介绍了CKEditor 3.6.3启用浏览器拼写检查并禁用上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将拼写检查转换为 CKEditor 的非常简单的实现。我已经禁用了所有的工具栏和插件,所以我们只剩下一个简单的文本框来创建基本的HTML。

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?

CKEditor 上下文菜单也没用。如果可能的话,我也不介意摆脱它。

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

推荐答案

有一个禁用内置法术的配置设置检查器是否提供浏览器。它默认设置为true,尝试将其设置为false。

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;






您可以尝试禁用contextmenu插件:


You can try disabling the contextmenu plugin:

config.removePlugins = 'contextmenu';

这篇关于CKEditor 3.6.3启用浏览器拼写检查并禁用上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆