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

Function callback

static/wangEditor/js/wangEditor.js:3968–3974  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3966
3967 // 自定义 callback 事件
3968 function callback() {
3969 // callback中,设置range为clearElem
3970 var editor = this;
3971 if ($clearElem) {
3972 editor.restoreSelectionByElem($clearElem.get(0));
3973 }
3974 }
3975
3976 // 执行自定义命令
3977 editor.customCommand(e, commandFn, callback);

Callers 15

wangEditor.jsFile · 0.70
cbFunction · 0.70
customCommandFunction · 0.70
webuploader.fis.jsFile · 0.50
webuploader.jsFile · 0.50
jquery-2.2.1.jsFile · 0.50

Calls 2

doHightlightFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected