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 {