mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-10 19:24:36 +00:00
Make display of EasyMDE in UI optional to template
This commit adds EasyMDE field to combomarkdowneditor, as well as to all its calls.
This commit is contained in:
parent
d780a9a47d
commit
f5c7ccaeff
9 changed files with 12 additions and 1 deletions
|
|
@ -239,6 +239,7 @@
|
|||
"MarkdownPreviewContext" $.RepoLink
|
||||
"TextareaName" "content"
|
||||
"DropzoneParentContainer" ".ui.form"
|
||||
"EasyMDE" true
|
||||
)}}
|
||||
{{if .IsAttachmentEnabled}}
|
||||
<div class="field">
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder")
|
||||
"DropzoneParentContainer" "form"
|
||||
"DisableAutosize" "true"
|
||||
"EasyMDE" true
|
||||
)}}
|
||||
|
||||
{{if $.root.IsAttachmentEnabled}}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
"TextareaName" "content"
|
||||
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.review.placeholder")
|
||||
"DropzoneParentContainer" "form"
|
||||
"EasyMDE" true
|
||||
)}}
|
||||
</div>
|
||||
{{if .IsAttachmentEnabled}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue