mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 15:01:13 +02:00
Fix shift-enter repeating last character (#7665)
This commit is contained in:
parent
0c10385dd2
commit
db09d16205
@ -140,6 +140,13 @@ const messageComposerBindings = (): KeyBinding<MessageComposerAction>[] => {
|
|||||||
key: Key.ENTER,
|
key: Key.ENTER,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
bindings.push({
|
||||||
|
action: MessageComposerAction.NewLine,
|
||||||
|
keyCombo: {
|
||||||
|
key: Key.ENTER,
|
||||||
|
shiftKey: true,
|
||||||
|
},
|
||||||
|
});
|
||||||
} else {
|
} else {
|
||||||
bindings.push({
|
bindings.push({
|
||||||
action: MessageComposerAction.Send,
|
action: MessageComposerAction.Send,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user