diff --git a/src/components/Chat/ChatContent/Message/MessageContent.tsx b/src/components/Chat/ChatContent/Message/MessageContent.tsx index 1901fdf..28755bc 100644 --- a/src/components/Chat/ChatContent/Message/MessageContent.tsx +++ b/src/components/Chat/ChatContent/Message/MessageContent.tsx @@ -353,8 +353,12 @@ const EditView = ({ handleSaveAndSubmit(); resetTextAreaHeight(); } - } else if (e.ctrlKey || e.shiftKey) { - handleSave(); + } else { + if (e.ctrlKey && e.shiftKey) { + e.preventDefault(); + handleSaveAndSubmit(); + resetTextAreaHeight(); + } else if (e.ctrlKey || e.shiftKey) handleSave(); } } };