From 8804278e6e0033d3bbe2213d23b943fcc529faa2 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Fri, 17 Mar 2017 14:20:17 +0000 Subject: [PATCH] Add OpenOffice docx and pptx file types --- boot/boot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/boot.js b/boot/boot.js index 43d625edc..62939b800 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -1954,7 +1954,9 @@ $tw.boot.startup = function(options) { $tw.utils.registerFileType("text/markdown","utf8",[".md",".markdown"],{deserializerType:"text/x-markdown"}); $tw.utils.registerFileType("text/x-markdown","utf8",[".md",".markdown"]); $tw.utils.registerFileType("application/enex+xml","utf8",".enex"); + $tw.utils.registerFileType("application/vnd.openxmlformats-officedocument.wordprocessingml.document","base64",".docx"); $tw.utils.registerFileType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","base64",".xlsx"); + $tw.utils.registerFileType("application/vnd.openxmlformats-officedocument.presentationml.presentation","base64",".pptx"); $tw.utils.registerFileType("application/x-bibtex","utf8",".bib"); $tw.utils.registerFileType("application/epub+zip","base64",".epub"); // Create the wiki store for the app