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:
parent
0d84c5b894
commit
fc026e12a5
|
@ -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);
|
||||
});
|
||||
},
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue