mirror of
https://github.com/wassname/talk.git
synced 2026-07-14 11:18:50 +08:00
fix: bug where erasing the edit RTE content would respawn the original content (#2308)
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user