在FireFox中关闭一个知足div的语法校正 [英] Turn off grammar correction in a contenteditable div in FireFox
问题描述
我有可以理解的div,上面有文字。在Firefox中,有一些语法更正,强调红色标记的文本。我怎样才能关闭它?
I have contenteditable div with text on it. In firefox, there is some kind of grammar correction which underlines the text with red marking. How can I turn it off?
如何关闭FireFox中的红色标记?
How do I turn off the red markings in FireFox?
<div contenteditable ='true'>Why do you underline me?</div>
JSFiddle:
http://jsfiddle.net/26JkW/
JSFiddle: http://jsfiddle.net/26JkW/
推荐答案
没有语法 - 检查本机的Firefox。鉴于每个单词都被标记为不正确,您可能选择了错误的语言。
There is no grammar-checking native to Firefox. Given that every word is being marked as incorrect, it is possible that you have the wrong language selected.
验证您是否为Firefox的词典选择了正确的语言:When在可编辑字段中键入,右键单击输入区域。从上下文菜单中,有一个选项语言。确保选择预期的语言。
To verify that you have the correct language selected for Firefox's dictionary: When typing in an editable field, right-click the input area. From the context menu, there is an option Languages. Ensure the expected language is selected.
编辑 stealthyninja的下面答案包含禁用符合OP要求的拼写检查的方法。这个答案不应该被视为解决方案。
EDIT stealthyninja's answer below contains the method for disabling spell checking as the OP requested. This answer should not be taken as the solution.
这篇关于在FireFox中关闭一个知足div的语法校正的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!