mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-24 10:24:29 -06:00
Fix Esc key not exiting full screen properly; Fixes #99
This commit is contained in:
parent
2f6af67480
commit
e6ab126431
@ -838,7 +838,7 @@ SimpleMDE.prototype.render = function(el) {
|
||||
toggleSideBySide(self);
|
||||
};
|
||||
keyMaps["Esc"] = function(cm) {
|
||||
if(cm.getOption("fullScreen")) cm.setOption("fullScreen", false);
|
||||
if(cm.getOption("fullScreen")) toggleFullScreen(self);
|
||||
};
|
||||
|
||||
var mode, backdrop;
|
||||
|
Loading…
x
Reference in New Issue
Block a user