From dac3606b4e41335a4e6beacc95132f4b8c9e5875 Mon Sep 17 00:00:00 2001 From: kl Date: Mon, 28 Dec 2020 13:58:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0markdown=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E9=A2=84=E8=A7=88UI=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/main/resources/web/txt.ftl | 33 ++++++++++++++++----------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/server/src/main/resources/web/txt.ftl b/server/src/main/resources/web/txt.ftl index 826278f5..a3643441 100644 --- a/server/src/main/resources/web/txt.ftl +++ b/server/src/main/resources/web/txt.ftl @@ -11,11 +11,25 @@
<#if textType?? && textType == "markdown"> -

- - -

-
+
+ + +
+
+
+
<#elseif textType?? && textType == "xml" >
<#else> @@ -77,7 +91,7 @@ */ function fetchData() { window.textData = Base64.decode($("#textData").val()) - window.textPreData = "
" + window.textData + "
"; + window.textPreData = "
" + window.textData + "
"; } /** @@ -134,13 +148,6 @@ width: 100%; } - #markdown, #xml { - height: 97%; - max-height: 97%; - border: 1px solid #ece7e7; - overflow-y: scroll; - width: 100%; - }