mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 10:47:46 -05:00
UX: Trim selected text while copying to the link building modal
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user