mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-25 10:54:28 -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);
|
toggleSideBySide(self);
|
||||||
};
|
};
|
||||||
keyMaps["Esc"] = function(cm) {
|
keyMaps["Esc"] = function(cm) {
|
||||||
if(cm.getOption("fullScreen")) cm.setOption("fullScreen", false);
|
if(cm.getOption("fullScreen")) toggleFullScreen(self);
|
||||||
};
|
};
|
||||||
|
|
||||||
var mode, backdrop;
|
var mode, backdrop;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user