Fix EasyMDE image paste bug during refactoring (#18207)
This commit is contained in:
parent
4f7764561a
commit
70d7475356
2 changed files with 9 additions and 4 deletions
|
@ -64,10 +64,13 @@ export function initRepoCommentForm() {
|
|||
});
|
||||
}
|
||||
|
||||
createCommentEasyMDE($('.comment.form textarea:not(.review-textarea)'));
|
||||
(async () => {
|
||||
await createCommentEasyMDE($('.comment.form textarea:not(.review-textarea)'));
|
||||
initCompImagePaste($('.comment.form'));
|
||||
})();
|
||||
|
||||
initBranchSelector();
|
||||
initCompMarkupContentPreviewTab($('.comment.form'));
|
||||
initCompImagePaste($('.comment.form'));
|
||||
|
||||
// List submits
|
||||
function initListSubmits(selector, outerSelector) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue