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