Ckeditor: Using Firefox built in spellchecker

微笑、不失礼 提交于 2019-12-20 18:34:47

问题


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?


回答1:


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.




回答2:


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.

config.removePlugins = 'scayt,menubutton,contextmenu';

Enable the built-in spell checker if the browser provides one.

config.disableNativeSpellChecker = false;



回答3:


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;

CKEDITOR.config.browserContextMenuOnCtrl = true;**

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..........




回答4:


Use this plugin: http://martinezdelizarrondo.com/spellcheck/ and as it's stated, you have to install the WriteArea extension in Firefox.




回答5:


Have you tried to enable SCAYT (SpellCheckAsYouType) in CKeditor? It is buit-in there and works as a plug-in.



来源:https://stackoverflow.com/questions/2682042/ckeditor-using-firefox-built-in-spellchecker

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!