Adjust comment

pull/21833/head
Luke Barnard 2017-08-07 16:29:22 +01:00
parent d9d8f2055f
commit 641fda0162
1 changed files with 1 additions and 2 deletions

View File

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