mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +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
|
event.stopPropagation(); // Otherwise TW's dropzone widget sees the drop event
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
this.cm.on("focus",function() {
|
||||||
|
self.widget.cancelPopups();
|
||||||
|
});
|
||||||
this.cm.on("keydown",function(cm,event) {
|
this.cm.on("keydown",function(cm,event) {
|
||||||
return self.widget.handleKeydownEvent.call(self.widget,event);
|
return self.widget.handleKeydownEvent.call(self.widget,event);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user