Ckeditor:使用 Firefox 内置的拼写检查器
我觉得这里有点进退两难。我想使用 Firefox 的内置拼写检查功能,而不禁用 Ckeditor 的上下文菜单,因为这会导致无法使用表格。有没有一种方法可以两全其美?
I feel a little caught between a rock and a hard place here. I want to use Firefox's built in spell checking without disabling Ckeditor's context menu as this renders it impossible to work with tables. Is there a way of getting the best of both worlds here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您是否尝试过在 CKeditor 中启用 SCAYT (SpellCheckAsYouType)?它内置在那里并作为插件使用。
Have you tried to enable SCAYT (SpellCheckAsYouType) in CKeditor? It is buit-in there and works as a plug-in.
您可以尝试将 disableNativeSpellChecker 属性设置为 false - 它 <然后应该可以在编辑器中看到本机拼写检查标记 - 但是对我来说,我无法在 Firefox 中使用它,只能在 Google chrome 中使用。
然后,您可以在右键单击时按住 ctrl 键以显示浏览器上下文菜单(前提是 browserContextMenuOnCtrl 尚未设置为 false)
HTH。
You could try setting the disableNativeSpellChecker property to false - it should then be possible to see the native spell checker markings within the editor - however for me I couldn't get this to work in Firefox, only Google chrome.
You can then hold the ctrl key down when you right click to show the browser context menu (provided browserContextMenuOnCtrl has not been set to false)
HTH.
使用浏览器的默认上下文菜单进行右键单击操作,然后您无需按 Ctrl 来切换浏览器的默认上下文菜单。
如果浏览器提供内置拼写检查器,请启用它。
Use the browser's default contextmenu for right click action, then you don't need to press Ctrl to shoe the browser's default context menu.
Enable the built-in spell checker if the browser provides one.
您好,您可以通过转到
Ckeditor> 文件编辑器来禁用它。然后确保您正在编辑 ckeditor.config.js 文件!
然后在底部添加两行(在 }; 标记之后)添加如下两行!...
**> CKEDITOR.config.disableNativeSpellChecker = false;
然后保存.........
在ckeditor中书写时,如果拼写错误,将会出现红点下划线!
当您右键单击 ckeditor 的上下文菜单时出现......但是当您 Ctrl+右键单击时浏览器默认菜单出现......谢谢..............
hi there you can disable it by going to
Ckeditor>File Editor.then make sure you're editing the ckeditor.config.js file!
then add the two lines at the bottom (after the }; tag) add the two lines like below!...
**> CKEDITOR.config.disableNativeSpellChecker = false;
then save it..........
when writing in ckeditor a red dot underline will appear if your spell is incorrect!
when you right click the ckeditor's context menu appear.....but when you Ctrl+Right Click the browsers default menu appears....thanks..........
使用此插件:http://martinezdelizarrondo.com/spellcheck/ 如上所述,您必须安装Firefox 中的 WriteArea 扩展。
Use this plugin: http://martinezdelizarrondo.com/spellcheck/ and as it's stated, you have to install the WriteArea extension in Firefox.