Merge pull request #4141 from matrix-org/t3chguy/editing_formatting

Fix formatting buttons not marking the composer as modified
pull/21833/head
Michael Telatynski 2020-02-27 15:00:16 +00:00 committed by GitHub
commit a5ca649eda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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