feat(utils): 更新 OnlyOffice 支持的文件格式

- 新增了多个文件格式,包括 md、vsdx、odg 等
- 更新后的列表共包含54 种文件格式,比之前增加了 37 种
This commit is contained in:
jmal 2025-07-02 17:59:42 +08:00
parent 810ae5f48f
commit ac21dab65f

View File

@ -21,7 +21,7 @@ monaco.languages.getLanguages().forEach(language => {
// onlyOffice支持的文件格式
export const onlyOfficeSupportedFormats = [
'doc', 'docx', 'odt', 'rtf', 'xls', 'xlsx', 'ods', 'csv', 'ppt', 'ppsx', 'pps', 'odp', 'pptx', 'pdf', 'epub', 'html'
'md', 'vsdx', 'csv', 'odg', 'xlsb', 'djvu', 'doc', 'docm', 'docx', 'docxf', 'dot', 'dotm', 'dotx', 'epub', 'fb2', 'fodp', 'fods', 'fodt', 'htm', 'html', 'key', 'mht', 'numbers', 'odp', 'ods', 'odt', 'oform', 'otp', 'ots', 'ott', 'oxps', 'pages', 'pdf', 'pot', 'potm', 'potx', 'pps', 'ppsm', 'ppsx', 'ppt', 'pptm', 'pptx', 'rtf', 'txt', 'xls', 'xlsb', 'xlsm', 'xlsx', 'xlt', 'xltm', 'xltx', 'xml', 'xps'
]
// 换行