fix: bug where erasing the edit RTE content would respawn the original content (#2308)

This commit is contained in:
Kiwi
2019-05-09 23:22:14 +02:00
committed by GitHub
parent 9f059e0c4a
commit 794487b1a9
@@ -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 (