mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:50:26 -06:00
FIX: only consider it handled by composer when a composer (#15254)
This commit is contained in:
parent
ec36cddd2f
commit
ac31c2bbb2
@ -315,8 +315,10 @@ export default Mixin.create({
|
||||
markdown = pre.match(/\S$/) ? ` ${markdown}` : markdown;
|
||||
}
|
||||
|
||||
this.appEvents.trigger("composer:insert-text", markdown);
|
||||
handled = true;
|
||||
if (isComposer) {
|
||||
this.appEvents.trigger("composer:insert-text", markdown);
|
||||
handled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user