You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Adjust comment
This commit is contained in:
@@ -109,8 +109,7 @@ export default class MessageComposerInput extends React.Component {
|
|||||||
if ([KeyCode.KEY_B, KeyCode.KEY_I, KeyCode.KEY_U].includes(e.keyCode) &&
|
if ([KeyCode.KEY_B, KeyCode.KEY_I, KeyCode.KEY_U].includes(e.keyCode) &&
|
||||||
e.shiftKey && e.ctrlKey
|
e.shiftKey && e.ctrlKey
|
||||||
) {
|
) {
|
||||||
// When null is returned, draft-js will NOT preventDefault, allowing dev tools
|
// When null is returned, draft-js will NOT preventDefault
|
||||||
// to be toggled when the editor is focussed
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user