diff --git a/lib/codemirror.js b/lib/codemirror.js index 292eda966dc5540ec209e44e6505caf1968b781a..58c45f4579c387379f5a63bb78eb18973fa2e30a 100644 --- a/lib/codemirror.js +++ b/lib/codemirror.js @@ -1583,7 +1583,9 @@ on(div, "paste", function(e) { if (signalDOMEvent(cm, e) || handlePaste(e, cm)) return // IE doesn't fire input events, so we schedule a read for the pasted content in this way - if (ie_version <= 11) setTimeout(operation(cm, function() {regChange(cm);}), 20) + if (ie_version <= 11) setTimeout(operation(cm, function() { + if (!input.pollContent()) regChange(cm); + }), 20) }) on(div, "compositionstart", function(e) {