mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[feature] Add mhtml for bug 61381
This commit is contained in:
@ -87,7 +87,7 @@
|
||||
"favIconUrlSlide" : "/web-apps/apps/presentationeditor/main/resources/img/favicon.ico",
|
||||
"fileInfoBlockList" : ["FileUrl"],
|
||||
"pdfView": ["pdf", "djvu", "xps", "oxps"],
|
||||
"wordView": ["doc", "dotx", "dotm", "dot", "fodt", "ott", "rtf", "mht", "html", "htm", "xml", "epub", "fb2"],
|
||||
"wordView": ["doc", "dotx", "dotm", "dot", "fodt", "ott", "rtf", "mht", "mhtml", "html", "htm", "xml", "epub", "fb2"],
|
||||
"wordEdit": ["docx", "docm", "docxf", "oform", "odt", "txt"],
|
||||
"cellView": ["xls", "xlsb", "xltx", "xltm", "xlt", "fods", "ots"],
|
||||
"cellEdit": ["xlsx", "xlsm", "ods", "csv"],
|
||||
|
||||
@ -213,6 +213,7 @@ exports.getFormatFromString = function(ext) {
|
||||
case 'html':
|
||||
return constants.AVS_OFFICESTUDIO_FILE_DOCUMENT_HTML;
|
||||
case 'mht':
|
||||
case 'mhtml':
|
||||
return constants.AVS_OFFICESTUDIO_FILE_DOCUMENT_MHT;
|
||||
case 'epub':
|
||||
return constants.AVS_OFFICESTUDIO_FILE_DOCUMENT_EPUB;
|
||||
|
||||
Reference in New Issue
Block a user