mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
FIX: Trigger change event when inserting text
This would normally not fire and result in odd behavior in the review queue when inserting links.
This commit is contained in:
parent
cb08d3cc26
commit
f6e0c79742
@ -764,7 +764,7 @@ export default Ember.Component.extend({
|
||||
$textarea.val(value);
|
||||
$textarea.prop("selectionStart", insert.length);
|
||||
$textarea.prop("selectionEnd", insert.length);
|
||||
|
||||
Ember.run.next(() => $textarea.trigger("change"));
|
||||
this._focusTextArea();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user