fix formatbar not hidden on highlighted message sent
This commit is contained in:
parent
99f12a695d
commit
d7953dfa6d
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ export default class BasicMessageEditor extends React.Component {
|
||||||
if (this.props.placeholder) {
|
if (this.props.placeholder) {
|
||||||
const {isEmpty} = this.props.model;
|
const {isEmpty} = this.props.model;
|
||||||
if (isEmpty) {
|
if (isEmpty) {
|
||||||
|
this._formatBarRef.hide();
|
||||||
this._showPlaceholder();
|
this._showPlaceholder();
|
||||||
} else {
|
} else {
|
||||||
this._hidePlaceholder();
|
this._hidePlaceholder();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue