diff --git a/lib/ace/keyboard/textinput.js b/lib/ace/keyboard/textinput.js index e41f3152..4f5ef1e4 100644 --- a/lib/ace/keyboard/textinput.js +++ b/lib/ace/keyboard/textinput.js @@ -46,7 +46,8 @@ var TextInput = function(parentNode, host) { if (useragent.isTouchPad) text.setAttribute("x-palm-disable-auto-cap", true); - text.setAttribute("wrap", "off"); + text.wrap = "off"; + text.spellcheck = false; text.style.top = "-2em"; parentNode.insertBefore(text, parentNode.firstChild);