forked from forgejo/forgejo
Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069)
This PR makes frontend load EasyMDE/CodeMirror dynamically, and removes `RequireEasyMDE`.
This commit is contained in:
parent
0572c78938
commit
a38ba634a4
17 changed files with 239 additions and 223 deletions
|
@ -254,7 +254,6 @@ func FileHistory(ctx *context.Context) {
|
|||
func Diff(ctx *context.Context) {
|
||||
ctx.Data["PageIsDiff"] = true
|
||||
ctx.Data["RequireHighlightJS"] = true
|
||||
ctx.Data["RequireEasyMDE"] = true
|
||||
ctx.Data["RequireTribute"] = true
|
||||
|
||||
userName := ctx.Repo.Owner.Name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue