mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Merge pull request #4141 from matrix-org/t3chguy/editing_formatting
Fix formatting buttons not marking the composer as modified
This commit is contained in:
commit
a5ca649eda
@ -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
Block a user