1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

Remove EasyMDE from various areas

Ref https://codeberg.org/forgejo/forgejo/issues/2831

Removed from:
- form for creating comment
- form for updating comment
- popup reviewing form
- line reviewing form
- I did not check the use of textarea.tmpl but I belive its used for issue templates, so also removed
- I did not check the use of box.tmpl, could not get any comments on compare

EasyMDE is left for these pages:
- release notes editor
- wiki editor
This commit is contained in:
0ko 2024-03-31 09:31:57 +05:00
parent f5c7ccaeff
commit 703aee4cad
6 changed files with 0 additions and 6 deletions

View file

@ -239,7 +239,6 @@
"MarkdownPreviewContext" $.RepoLink
"TextareaName" "content"
"DropzoneParentContainer" ".ui.form"
"EasyMDE" true
)}}
{{if .IsAttachmentEnabled}}
<div class="field">

View file

@ -17,7 +17,6 @@
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder")
"DropzoneParentContainer" "form"
"DisableAutosize" "true"
"EasyMDE" true
)}}
{{if $.root.IsAttachmentEnabled}}

View file

@ -21,7 +21,6 @@
"TextareaName" "content"
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.review.placeholder")
"DropzoneParentContainer" "form"
"EasyMDE" true
)}}
</div>
{{if .IsAttachmentEnabled}}

View file

@ -11,7 +11,6 @@
"TextareaContent" $textareaContent
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder")
"DropzoneParentContainer" "form, .ui.form"
"EasyMDE" true
)}}
</div>

View file

@ -13,7 +13,6 @@
"TextareaContent" .item.Attributes.value
"TextareaPlaceholder" .item.Attributes.placeholder
"DropzoneParentContainer" ".combo-editor-dropzone"
"EasyMDE" true
)}}
{{if .root.IsAttachmentEnabled}}

View file

@ -151,7 +151,6 @@
"MarkdownPreviewContext" .RepoLink
"TextareaName" "content"
"DropzoneParentContainer" ".ui.form"
"EasyMDE" true
)}}
</div>