UX: Trim selected text while copying to the link building modal

This commit is contained in:
Vinoth Kannan 2018-01-24 18:58:54 +05:30
parent cbf4204ecc
commit 4a70248311
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ export default Ember.Component.extend({
this._lastSel = this._getSelected();
if (this._lastSel) {
this.set("linkText", this._lastSel.value);
this.set("linkText", this._lastSel.value.trim());
}
this.set('insertLinkHidden', false);