kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Update engine.js
rodzic
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);
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue