From 794487b1a96bf4dbb19ffa035e04b7e52c91227f Mon Sep 17 00:00:00 2001 From: Kiwi Date: Thu, 9 May 2019 23:22:14 +0200 Subject: [PATCH] fix: bug where erasing the edit RTE content would respawn the original content (#2308) --- plugins/talk-plugin-rich-text/client/components/Editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/talk-plugin-rich-text/client/components/Editor.js b/plugins/talk-plugin-rich-text/client/components/Editor.js index f8d6b5346..d83412da9 100644 --- a/plugins/talk-plugin-rich-text/client/components/Editor.js +++ b/plugins/talk-plugin-rich-text/client/components/Editor.js @@ -22,7 +22,7 @@ class Editor extends React.Component { }; getHTML(props = this.props) { - if (props.input.richTextBody) { + if (props.input.richTextBody !== undefined) { return props.input.richTextBody; } return (