mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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