mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Update engine.js
This commit is contained in:
parent
345a6a0f90
commit
217670cdf3
@ -125,6 +125,9 @@ 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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user