|
@@ -123,7 +123,7 @@
|
|
|
|
|
|
const fileTypeMap = {
|
|
|
'word': ['doc', 'docm', 'docx', 'dot', 'dotm', 'dotx', 'epub', 'fodt', 'htm', 'html', 'mht', 'odt', 'ott',
|
|
|
- 'pdf', 'rtf', 'txt', 'djvu', 'xps'
|
|
|
+ 'pdf', 'rtf', 'txt', 'djvu', 'xps','wps'
|
|
|
],
|
|
|
'cell': ['csv', 'fods', 'ods', 'ots', 'xls', 'xlsm', 'xlsx', 'xlt', 'xltm', 'xltx'],
|
|
|
'slide': ['fodp', 'odp', 'otp', 'pot', 'potm', 'potx', 'pps', 'ppsm', 'ppsx', 'ppt', 'pptm', 'pptx']
|
|
@@ -263,4 +263,4 @@
|
|
|
//"onDocumentReady" : onDocumentReady, //文档初始化准备好后的回调
|
|
|
},
|
|
|
};
|
|
|
- var docEditor = new DocsAPI.DocEditor("placeholder", config); -->
|
|
|
+ var docEditor = new DocsAPI.DocEditor("placeholder", config); -->
|