Add SimpleMDE and Fix Image Paste for Issue/Comment Editor (#9197)
* update #9132 and #8834 - add SimpleMDE for issue and fix image paste for comment editor * attache tribute to simplemde * update #9197 force simplemde file input event when backspace press
This commit is contained in:
parent
61db834904
commit
121977c36f
2 changed files with 59 additions and 1 deletions
|
@ -673,6 +673,7 @@ func ViewIssue(ctx *context.Context) {
|
|||
ctx.Data["RequireHighlightJS"] = true
|
||||
ctx.Data["RequireDropzone"] = true
|
||||
ctx.Data["RequireTribute"] = true
|
||||
ctx.Data["RequireSimpleMDE"] = true
|
||||
renderAttachmentSettings(ctx)
|
||||
|
||||
if err = issue.LoadAttributes(); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue