From d0301588b8cbce69c6ac9ae2e448ed1e288c9799 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 17 Jun 2020 08:20:08 +0000
Subject: [PATCH] Erweiterung der Verwendung von Codemirror (in Arbeit)

---
 web/ui/api.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/web/ui/api.js b/web/ui/api.js
index 40534fe..aba6cfd 100644
--- a/web/ui/api.js
+++ b/web/ui/api.js
@@ -256,6 +256,8 @@
         mode = 'xml';
       } else if(fname.endsWith('properties')) {
         mode = 'xml';
+      } else if(fname.endsWith('adoc')) {
+        mode = 'text/x-markdown';
       }
       fm_text_edit(resp, mode);
     } else {

--
Gitblit v1.9.3