Fix formatting buttons not marking the composer as modified

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-02-27 11:01:22 +00:00
parent 248e467537
commit b3fbcd4521
1 changed files with 1 additions and 0 deletions

View File

@ -563,6 +563,7 @@ export default class BasicMessageEditor extends React.Component {
return; return;
} }
this.historyManager.ensureLastChangesPushed(this.props.model); this.historyManager.ensureLastChangesPushed(this.props.model);
this._modifiedFlag = true;
switch (action) { switch (action) {
case "bold": case "bold":
toggleInlineFormat(range, "**"); toggleInlineFormat(range, "**");