diff options
Diffstat (limited to 'templates/repo/issue/comment_tab.tmpl')
-rw-r--r-- | templates/repo/issue/comment_tab.tmpl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/repo/issue/comment_tab.tmpl b/templates/repo/issue/comment_tab.tmpl index 4197ea4f65..a4626dd89e 100644 --- a/templates/repo/issue/comment_tab.tmpl +++ b/templates/repo/issue/comment_tab.tmpl @@ -5,11 +5,12 @@ <div class="field"> {{template "shared/combomarkdowneditor" (dict - "MarkdownPreviewUrl" (print .Repository.Link "/markup") - "MarkdownPreviewContext" .RepoLink + "CustomInit" true + "MarkdownPreviewInRepo" $.Repository + "MarkdownPreviewMode" "comment" "TextareaName" "content" "TextareaContent" $textareaContent - "TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder") + "TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder") "DropzoneParentContainer" "form, .ui.form" )}} </div> |