fix: Send message with "enter" also do new line (#5961)
* fix: Send message with "enter" also do new line * chore: Review fixes * chore: Naming fixes * chore: Minor fixes * chore: Fix line break issue when cmd plus enter enabled
This commit is contained in:
parent
a82b9991b3
commit
89cfc5bbf3
4 changed files with 47 additions and 1 deletions
|
@ -590,6 +590,7 @@ export default {
|
|||
e.preventDefault();
|
||||
} else if (keyCode === 'enter' && this.isAValidEvent('enter')) {
|
||||
this.onSendReply();
|
||||
e.preventDefault();
|
||||
} else if (
|
||||
['meta+enter', 'ctrl+enter'].includes(keyCode) &&
|
||||
this.isAValidEvent('cmd_enter')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue