diff --git a/src/components/views/rooms/wysiwyg_composer/hooks/useInputEventProcessor.ts b/src/components/views/rooms/wysiwyg_composer/hooks/useInputEventProcessor.ts index 0cd86dcf31e..fb36bbf2d16 100644 --- a/src/components/views/rooms/wysiwyg_composer/hooks/useInputEventProcessor.ts +++ b/src/components/views/rooms/wysiwyg_composer/hooks/useInputEventProcessor.ts @@ -29,8 +29,7 @@ export function useInputEventProcessor(onSend: () => void): (event: WysiwygEvent const isKeyboardEvent = event instanceof KeyboardEvent; const isEnterPress = - !isCtrlEnter && - (isKeyboardEvent ? event.key === "Enter" && !event.shiftKey : event.inputType === "insertParagraph"); + !isCtrlEnter && (isKeyboardEvent ? event.key === "Enter" : event.inputType === "insertParagraph"); // sendMessage is sent when ctrl+enter is pressed const isSendMessage = !isKeyboardEvent && event.inputType === "sendMessage";