Disabling autocapitalization for div content in UIWebView

I have a UIWebView that loads a basic html page with a contenteditable div. This div has the following attributes:

<div id="editor" contenteditable="true" autocapitalize="none" autocorrect="off" autocomplete="off">#CONTENT#</div> 

However, in iOS 5 and iOS 6, the sentences are still capitalized.

I tried to set autocapitalize to off , but then set it to none according to the HTML Safari link , but there is still no joy.

+4
source share
1 answer

autocapitalize , autocorrect , autocomplete only input tags and forms are supported. See Related Tags in the document.

+2
source

All Articles