hide formatting bar for MD editor
This commit is contained in:
parent
f981d7b729
commit
e460cf35e0
2 changed files with 2 additions and 4 deletions
|
@ -1405,9 +1405,7 @@ export default class MessageComposerInput extends React.Component {
|
|||
};
|
||||
|
||||
onFormatButtonClicked = (name, e) => {
|
||||
if (e) {
|
||||
e.preventDefault(); // don't steal focus from the editor!
|
||||
}
|
||||
e.preventDefault(); // don't steal focus from the editor!
|
||||
|
||||
// XXX: horrible evil hack to ensure the editor is focused so the act
|
||||
// of focusing it doesn't then cancel the format button being pressed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue