|
@@ -3840,16 +3840,20 @@ U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
|
|
|
}
|
|
|
_jie.onclick = async () => {
|
|
|
let text = ''
|
|
|
+ let type = '2'
|
|
|
if (aTool == 1) {
|
|
|
text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
|
|
|
+ type = '3'
|
|
|
}if (aTool == 6) {
|
|
|
text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
|
|
|
+ type = '2'
|
|
|
} else if (aTool == 3) {
|
|
|
text = await U.MD.D.I.getEditorContent(_iframe);
|
|
|
+ type = '1'
|
|
|
}
|
|
|
_loading.style.display = 'flex'
|
|
|
|
|
|
- U.MD.D.I.setContents(cid, stage, task, tool, _userid, '2',text, _loading,_lspan)
|
|
|
+ U.MD.D.I.setContents(cid, stage, task, tool, _userid, type, text, _loading,_lspan)
|
|
|
}
|
|
|
}
|
|
|
|