mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:12:26 +08:00
Keep new lines on quotes
This commit is contained in:
parent
416e461417
commit
f887363e83
|
@ -138,7 +138,7 @@ export default Ember.Controller.extend({
|
|||
const quotedText = Quote.build(post, buffer);
|
||||
composerOpts.quote = quotedText;
|
||||
if (composerController.get('content.viewOpen') || composerController.get('content.viewDraft')) {
|
||||
this.appEvents.trigger('composer:insert-text', quotedText.trim());
|
||||
this.appEvents.trigger('composer:insert-text', quotedText);
|
||||
} else {
|
||||
composerController.open(composerOpts);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user