mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 03:39:29 +00:00
feat: #14 allow multiline messages
This commit is contained in:
@@ -326,7 +326,7 @@ const MessageInput = () => {
|
||||
disabled={recording || loading}
|
||||
onPaste={handleInputPaste}
|
||||
onKeyPress={e => {
|
||||
if (loading) return;
|
||||
if (loading || e.shiftKey) return;
|
||||
else if (e.key === "Enter") {
|
||||
handleSendMessage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user