marinofaggiana 3 年之前
父節點
當前提交
43b6ac31d5
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      iOSClient/Utility/NCUtility.swift

+ 5 - 0
iOSClient/Utility/NCUtility.swift

@@ -241,11 +241,16 @@ class NCUtility: NSObject {
                 if mimetype == contentType {
                     editor = result.editor
                 }
+                
                 // HARDCODE
                 // https://github.com/nextcloud/text/issues/913
+                
                 if mimetype == "text/markdown" && contentType == "text/x-markdown" {
                     editor = result.editor
                 }
+                if contentType == "text/html" {
+                    editor = result.editor
+                }
             }
             for mimetype in result.optionalMimetypes {
                 if mimetype == contentType {