From 5de76965a1f571444deee23410117b6d35996f1d Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Mon, 1 Mar 2021 00:48:29 +0800 Subject: [PATCH] add preview support for wiki editor when disable simpleMDE (#14757) Signed-off-by: a1012112796 <1012112796@qq.com> --- templates/repo/wiki/new.tmpl | 10 ++++++---- web_src/js/index.js | 24 ++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl index 06450a6ec4..6de6ef9a20 100644 --- a/templates/repo/wiki/new.tmpl +++ b/templates/repo/wiki/new.tmpl @@ -16,12 +16,14 @@