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

Function cb

static/wangEditor/js/wangEditor.js:7444–7451  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7442 html = $txt.html();
7443 // 监控内容变化
7444 var cb = function () {
7445 if (callback) {
7446 callback();
7447 }
7448 if (html !== $txt.html()) {
7449 $txt.change();
7450 }
7451 };
7452 // 执行命令
7453 if (commandFn) {
7454 editor.customCommand(e, commandFn, cb);

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected