Fix formatting buttons not marking the composer as modified
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
248e467537
commit
b3fbcd4521
|
@ -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, "**");
|
||||||
|
|
Loading…
Reference in New Issue