0

I have a contentEditable div in a UIWebView. I want to disable the spell check feature.

Is there any API in the UIWebView ?

Thanks.

tangqiaoboy
  • 1,476
  • 1
  • 15
  • 32

3 Answers3

1

Have you tried this?

<div autocorrect="false" contenteditable="true"></div>
sergio
  • 68,819
  • 11
  • 102
  • 123
0

For me this works:

<div autocomplete="off" autocorrect="off" contenteditable="true" />
user8675
  • 657
  • 6
  • 13
-1

Please Check this. How can I disable the spell checker on text inputs on the iPhone

Community
  • 1
  • 1
Mangesh
  • 2,257
  • 4
  • 24
  • 51
  • 1
    is there actually anyone who succeeded in disabling the checker for a **contentEditable** div? I see that this method works for text inputs, but I disagree with this answer. I think it's a bug (or yet unimplemented feature) of Safari mobile (as of iOS 6). – auco Jan 25 '13 at 16:45
  • This doesn't work with safari mobile.Does Anyone has solved this using jQuery or javascript?? – Sonu Jan 09 '15 at 06:28
  • 1
    I down-voted this answer because the question was specifically about contenteditable elements and this answer is about inputs and textareas. – Kenneth Sundqvist Sep 17 '15 at 13:16