Fix: remove cancelPopups from codemirror engine (#4310)

This commit is contained in:
Simon Huber
2019-10-12 16:40:51 +01:00
committed by Jeremy Ruston
parent 007fc8239b
commit 920f0869c4
-3
View File
@@ -125,9 +125,6 @@ function CodeMirrorEngine(options) {
event.stopPropagation(); // Otherwise TW's dropzone widget sees the drop event
return false;
});
this.cm.on("focus",function() {
self.widget.cancelPopups();
});
this.cm.on("keydown",function(cm,event) {
return self.widget.handleKeydownEvent.call(self.widget,event);
});