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

Function autoCloseSlash

static/editor.md/lib/codemirror/addon/edit/closetag.js:132–135  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

130 }
131
132 function autoCloseSlash(cm) {
133 if (cm.getOption("disableInput")) return CodeMirror.Pass;
134 return autoCloseCurrent(cm, true);
135 }
136
137 CodeMirror.commands.closeTag = function(cm) { return autoCloseCurrent(cm); };
138

Callers 1

closetag.jsFile · 0.85

Calls 1

autoCloseCurrentFunction · 0.85

Tested by

no test coverage detected