Commit d208ad38 authored by Oleg Korshul's avatar Oleg Korshul

disable autocorrect input

parent 0e598f37
......@@ -207,7 +207,10 @@
_style += "overflow:hidden;padding:0px;margin:0px;font-family:arial;font-size:12pt;resize:none;font-weight:normal;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;";
this.HtmlArea.setAttribute("style", _style);
this.HtmlArea.setAttribute("spellcheck", false);
this.HtmlArea.setAttribute("autocapitalize", "none");
this.HtmlArea.setAttribute("autocomplete", "off");
this.HtmlArea.setAttribute("autocorrect", "off");
this.HtmlDiv.appendChild(this.HtmlArea);
......@@ -1514,9 +1517,6 @@
ti_console_log("ti: onCompositionEnd -> onCompositionUpdate");
this.onCompositionUpdate(e, false, _data, true);
//if (AscCommon.AscBrowser.isAndroid)
// this.onCompositionUpdate(e, false, "", true);
var _max = this.Api.Get_MaxCursorPosInCompositeText();
this.Api.Set_CursorPosInCompositeText(_max); // max
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment