mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Handle MacOS option key
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
649b655a48
commit
4eda5b186a
@ -499,7 +499,7 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
|
||||
handled = true;
|
||||
} else if (event.key === Key.BACKSPACE || event.key === Key.DELETE) {
|
||||
this.formatBarRef.current.hide();
|
||||
if (!event.ctrlKey) {
|
||||
if (!event.ctrlKey && !event.metaKey) {
|
||||
handled = this.fakeDeletion(event.key === Key.BACKSPACE);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user