diff --git a/src/components/views/rooms/EditMessageComposer.js b/src/components/views/rooms/EditMessageComposer.js index 897388d5d2..f0980af7ae 100644 --- a/src/components/views/rooms/EditMessageComposer.js +++ b/src/components/views/rooms/EditMessageComposer.js @@ -168,6 +168,7 @@ export default class EditMessageComposer extends React.Component { if (nextEvent) { dis.dispatch({action: 'edit_event', event: nextEvent}); } else { + this._clearStoredEditorState(); dis.dispatch({action: 'edit_event', event: null}); dis.fire(Action.FocusComposer); }