From 2f468381205f5f7e279791aa71e5288710a6476c Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sun, 9 Apr 2023 15:51:32 +0800 Subject: [PATCH] Re-add initial wiki page text when editing the page (#23984) The `$content` was prepared above, but forgot to put it into the editor Fix #23979 --- templates/repo/wiki/new.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl index 03d710bb2..57ab753e2 100644 --- a/templates/repo/wiki/new.tmpl +++ b/templates/repo/wiki/new.tmpl @@ -29,6 +29,7 @@ "MarkdownPreviewUrl" (print .Repository.Link "/markup") "MarkdownPreviewContext" .RepoLink "TextareaName" "content" + "TextareaContent" $content )}}