MCPcopy Create free account
hub / github.com/TruthHun/BookStack / escHandle

Function escHandle

static/editor.md/editormd.amd.js:2564–2568  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

2562 codeMirror.toggle();
2563
2564 var escHandle = function(event) {
2565 if (event.shiftKey && event.keyCode === 27) {
2566 _this.previewed();
2567 }
2568 };
2569
2570 if (codeMirror.css("display") === "none") // 为了兼容Zepto,而不使用codeMirror.is(":hidden")
2571 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected