mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 14:21:31 +03:00
Added a comment
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
c6a058fb6f
commit
e90f5ddf5b
1 changed files with 1 additions and 0 deletions
|
@ -512,6 +512,7 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
|
|||
toggleInlineFormat(selectionRange, "'");
|
||||
handled = true;
|
||||
}
|
||||
// Surround selected text with a character
|
||||
} else {
|
||||
const metaOrAltPressed = event.metaKey || event.altKey;
|
||||
const modifierPressed = metaOrAltPressed || event.shiftKey;
|
||||
|
|
Loading…
Reference in a new issue