|
@@ -82,9 +82,9 @@
|
|
id: option.user.id,
|
|
id: option.user.id,
|
|
name: option.user.name
|
|
name: option.user.name
|
|
},
|
|
},
|
|
- userdata:{
|
|
|
|
- wdm:111,
|
|
|
|
- xdm:222
|
|
|
|
|
|
+ userdata: {
|
|
|
|
+ wdm: 111,
|
|
|
|
+ xdm: 222
|
|
},
|
|
},
|
|
mode: option.model ? option.model : 'edit',
|
|
mode: option.model ? option.model : 'edit',
|
|
// 定义共享编辑模式(快速fast/严格strict), change为控制是否允许修改
|
|
// 定义共享编辑模式(快速fast/严格strict), change为控制是否允许修改
|
|
@@ -94,7 +94,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
width: '100%',
|
|
width: '100%',
|
|
- height: document.body.clientHeight - 110,
|
|
|
|
|
|
+ height: document.body.clientHeight, // - 110,
|
|
token: option.token || ''
|
|
token: option.token || ''
|
|
}
|
|
}
|
|
|
|
|
|
@@ -131,7 +131,7 @@
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
|
|
- <!-- let config = {
|
|
|
|
|
|
+<!-- let config = {
|
|
"document": {
|
|
"document": {
|
|
"documentType": "text",
|
|
"documentType": "text",
|
|
"width": "100%", //打开窗口宽度
|
|
"width": "100%", //打开窗口宽度
|
|
@@ -263,4 +263,4 @@
|
|
//"onDocumentReady" : onDocumentReady, //文档初始化准备好后的回调
|
|
//"onDocumentReady" : onDocumentReady, //文档初始化准备好后的回调
|
|
},
|
|
},
|
|
};
|
|
};
|
|
- var docEditor = new DocsAPI.DocEditor("placeholder", config); -->
|
|
|
|
|
|
+ var docEditor = new DocsAPI.DocEditor("placeholder", config); -->
|