FIX: Some toolbar operations weren't triggering the change event

This would mean that some simple edits to queued posts did not get
saved.
This commit is contained in:
Robin Ward 2019-06-20 13:35:12 -04:00
parent 0d84c5b894
commit fc026e12a5
2 changed files with 2 additions and 2 deletions

View File

@ -541,7 +541,7 @@ export default Ember.Component.extend({
}
textarea.selectionStart = from;
textarea.selectionEnd = from + length;
Ember.run.next(() => $textarea.trigger("change"));
$textarea.scrollTop(oldScrollPos);
});
},

View File

@ -47,7 +47,7 @@
class="d-editor-input"
placeholder=placeholderTranslated
disabled=disabled
change=change}}
input=change}}
{{popup-input-tip validation=validation}}
{{plugin-outlet name="after-d-editor" tagName="" args=outletArgs}}
</div>