mirror of https://github.com/vector-im/riot-web
Adjust comment
parent
d9d8f2055f
commit
641fda0162
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue