mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-20 19:07:56 +08:00
增加文本比较功能
This commit is contained in:
@@ -45,6 +45,18 @@ $(function () {
|
||||
loadDocument($select_node);
|
||||
}
|
||||
}
|
||||
uploadImage("docEditor",function ($state, $res) {
|
||||
if($state === "before"){
|
||||
return layer.load(1, {
|
||||
shade: [0.1,'#fff'] //0.1透明度的白色背景
|
||||
});
|
||||
}else if($state === "success"){
|
||||
if($res.errcode === 0) {
|
||||
var value = '';
|
||||
window.editor.insertValue(value);
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
onchange : function () {
|
||||
resetEditorChanged(true);
|
||||
|
Reference in New Issue
Block a user