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

Function escHandle

static/editor.md/editormd.js:2536–2540  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

2534 codeMirror.toggle();
2535
2536 var escHandle = function(event) {
2537 if (event.shiftKey && event.keyCode === 27) {
2538 _this.previewed();
2539 }
2540 };
2541
2542 if (codeMirror.css("display") === "none") // 为了兼容Zepto,而不使用codeMirror.is(":hidden")
2543 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected