Skip to content

Commit

Permalink
Re-add initial wiki page text when editing the page (#23984)
Browse files Browse the repository at this point in the history
The `$content` was prepared above, but forgot to put it into the editor

Fix #23979
  • Loading branch information
wxiaoguang authored Apr 9, 2023
1 parent d151794 commit 2f46838
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/repo/wiki/new.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"MarkdownPreviewUrl" (print .Repository.Link "/markup")
"MarkdownPreviewContext" .RepoLink
"TextareaName" "content"
"TextareaContent" $content
)}}

<div class="field">
Expand Down

0 comments on commit 2f46838

Please sign in to comment.