fix formatbar not hidden on highlighted message sent

pull/21833/head
thobyv-kismat 2020-03-24 13:09:06 +01:00
parent 99f12a695d
commit d7953dfa6d
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ export default class BasicMessageEditor extends React.Component {
if (this.props.placeholder) {
const {isEmpty} = this.props.model;
if (isEmpty) {
this._formatBarRef.hide();
this._showPlaceholder();
} else {
this._hidePlaceholder();