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
(cherry picked from commit 703aee4cad
)
This commit is contained in:
parent
4b0e8f227d
commit
99effab1eb
|
@ -241,7 +241,6 @@
|
||||||
"MarkdownPreviewContext" $.RepoLink
|
"MarkdownPreviewContext" $.RepoLink
|
||||||
"TextareaName" "content"
|
"TextareaName" "content"
|
||||||
"DropzoneParentContainer" ".ui.form"
|
"DropzoneParentContainer" ".ui.form"
|
||||||
"EasyMDE" true
|
|
||||||
)}}
|
)}}
|
||||||
{{if .IsAttachmentEnabled}}
|
{{if .IsAttachmentEnabled}}
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder")
|
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder")
|
||||||
"DropzoneParentContainer" "form"
|
"DropzoneParentContainer" "form"
|
||||||
"DisableAutosize" "true"
|
"DisableAutosize" "true"
|
||||||
"EasyMDE" true
|
|
||||||
)}}
|
)}}
|
||||||
|
|
||||||
{{if $.root.IsAttachmentEnabled}}
|
{{if $.root.IsAttachmentEnabled}}
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
"TextareaName" "content"
|
"TextareaName" "content"
|
||||||
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.review.placeholder")
|
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.review.placeholder")
|
||||||
"DropzoneParentContainer" "form"
|
"DropzoneParentContainer" "form"
|
||||||
"EasyMDE" true
|
|
||||||
)}}
|
)}}
|
||||||
</div>
|
</div>
|
||||||
{{if .IsAttachmentEnabled}}
|
{{if .IsAttachmentEnabled}}
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
"TextareaContent" $textareaContent
|
"TextareaContent" $textareaContent
|
||||||
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder")
|
"TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder")
|
||||||
"DropzoneParentContainer" "form, .ui.form"
|
"DropzoneParentContainer" "form, .ui.form"
|
||||||
"EasyMDE" true
|
|
||||||
)}}
|
)}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
"TextareaContent" .item.Attributes.value
|
"TextareaContent" .item.Attributes.value
|
||||||
"TextareaPlaceholder" .item.Attributes.placeholder
|
"TextareaPlaceholder" .item.Attributes.placeholder
|
||||||
"DropzoneParentContainer" ".combo-editor-dropzone"
|
"DropzoneParentContainer" ".combo-editor-dropzone"
|
||||||
"EasyMDE" true
|
|
||||||
)}}
|
)}}
|
||||||
|
|
||||||
{{if .root.IsAttachmentEnabled}}
|
{{if .root.IsAttachmentEnabled}}
|
||||||
|
|
|
@ -151,7 +151,6 @@
|
||||||
"MarkdownPreviewContext" .RepoLink
|
"MarkdownPreviewContext" .RepoLink
|
||||||
"TextareaName" "content"
|
"TextareaName" "content"
|
||||||
"DropzoneParentContainer" ".ui.form"
|
"DropzoneParentContainer" ".ui.form"
|
||||||
"EasyMDE" true
|
|
||||||
)}}
|
)}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue