Reputation: 854
I have a UIWebView which 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, sentences are still being capitalized.
I've tried setting autocapitalize
to off
, but then set it to none
as per the Safari HTML Reference, but still no joy.
Upvotes: 4
Views: 1049
Reputation: 527
autocapitalize
, autocorrect
, autocomplete
are supported input and form tags only. See Related Tags
in the doc.
Upvotes: 2