From b3fbcd4521ce9ab010f538d694656e0c82d2cb35 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 27 Feb 2020 11:01:22 +0000 Subject: [PATCH] Fix formatting buttons not marking the composer as modified Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/rooms/BasicMessageComposer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/rooms/BasicMessageComposer.js b/src/components/views/rooms/BasicMessageComposer.js index e366a20326..2bd34b5969 100644 --- a/src/components/views/rooms/BasicMessageComposer.js +++ b/src/components/views/rooms/BasicMessageComposer.js @@ -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, "**");