From a38ba634a4da15fbb2d1b6ac6742cf01c1503ea4 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 5 Jan 2022 20:17:25 +0800 Subject: Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) This PR makes frontend load EasyMDE/CodeMirror dynamically, and removes `RequireEasyMDE`. --- templates/base/footer.tmpl | 8 -------- templates/base/head.tmpl | 3 --- 2 files changed, 11 deletions(-) (limited to 'templates/base') diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index 2b641cc9de..122b3b46b4 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -12,14 +12,6 @@ {{template "custom/body_outer_post" .}} {{template "base/footer_content" .}} -{{if .RequireEasyMDE}} - - - - -{{end}} {{if .RequireU2F}} diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 8bc6ae689d..499c113abf 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -59,9 +59,6 @@ -{{if .RequireEasyMDE}} - -{{end}}