BigW Consortium Gitlab

Commit 1ce27c7d by Clement Ho

Merge branch '40373-fix-issue-note-submit-disabled-on-paste' into 'master'

Fix Issue comment submit button disabled on GFM paste Closes #40373 See merge request gitlab-org/gitlab-ce!15530
parents 7bab05b7 078ba6a2
......@@ -190,7 +190,7 @@ export const insertText = (target, text) => {
target.selectionStart = target.selectionEnd = selectionStart + insertedText.length;
// Trigger autosave
$(target).trigger('input');
target.dispatchEvent(new Event('input'));
// Trigger autosize
const event = document.createEvent('Event');
......
---
title: Fix Issue comment submit button being disabled when pasting content from another
GFM note
merge_request: 15530
author:
type: fixed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment