diff --git a/lib/ace/keyboard/textinput.js b/lib/ace/keyboard/textinput.js index c625cf74..c70d570a 100644 --- a/lib/ace/keyboard/textinput.js +++ b/lib/ace/keyboard/textinput.js @@ -118,7 +118,9 @@ var TextInput = function(parentNode, host) { var onPropertyChange = function(e) { setTimeout(function() { if (!inCompostion) - sendText(); + if(text.value != "") { + sendText(); + } }, 0); };