Commit 453aea39 authored by Filipa Lacerda's avatar Filipa Lacerda Committed by Jarka Kadlecova
Browse files

Merge branch 'acet-fix-paste-on-comment-form' into 'master'

Trigger change event of the markdown textarea to allow Vue catch the programmatic changes.

Closes #38441

See merge request gitlab-org/gitlab-ce!14539
parent 81e023cb
......@@ -238,9 +238,12 @@ window.DropzoneInput = (function() {
const insertToTextArea = function(filename, url) {
return $(child).val(function(index, val) {
const $child = $(child);
$child.val(function(index, val) {
return val.replace(`{{${filename}}}`, url);
const appendToTextArea = function(url) {
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