Added a comment

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2020-12-19 19:36:56 +01:00
parent c6a058fb6f
commit e90f5ddf5b

View file

@ -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;