@@ -69,7 +69,6 @@ func editFile(ctx *context.Context, isNewFile bool) {
6969 ctx .Data ["PageIsEdit" ] = true
7070 ctx .Data ["IsNewFile" ] = isNewFile
7171 ctx .Data ["RequireHighlightJS" ] = true
72- ctx .Data ["RequireEasyMDE" ] = true
7372 canCommit := renderCommitRights (ctx )
7473
7574 treePath := cleanUploadFileName (ctx .Repo .TreePath )
@@ -200,7 +199,6 @@ func editFilePost(ctx *context.Context, form forms.EditRepoFileForm, isNewFile b
200199 ctx .Data ["PageHasPosted" ] = true
201200 ctx .Data ["IsNewFile" ] = isNewFile
202201 ctx .Data ["RequireHighlightJS" ] = true
203- ctx .Data ["RequireEasyMDE" ] = true
204202 ctx .Data ["TreePath" ] = form .TreePath
205203 ctx .Data ["TreeNames" ] = treeNames
206204 ctx .Data ["TreePaths" ] = treePaths
@@ -544,7 +542,6 @@ func DeleteFilePost(ctx *context.Context) {
544542func UploadFile (ctx * context.Context ) {
545543 ctx .Data ["PageIsUpload" ] = true
546544 ctx .Data ["RequireTribute" ] = true
547- ctx .Data ["RequireEasyMDE" ] = true
548545 upload .AddUploadContext (ctx , "repo" )
549546 canCommit := renderCommitRights (ctx )
550547 treePath := cleanUploadFileName (ctx .Repo .TreePath )
@@ -580,7 +577,6 @@ func UploadFilePost(ctx *context.Context) {
580577 form := web .GetForm (ctx ).(* forms.UploadRepoFileForm )
581578 ctx .Data ["PageIsUpload" ] = true
582579 ctx .Data ["RequireTribute" ] = true
583- ctx .Data ["RequireEasyMDE" ] = true
584580 upload .AddUploadContext (ctx , "repo" )
585581 canCommit := renderCommitRights (ctx )
586582
0 commit comments