Skip to content

Commit

Permalink
[Home] fixes tinymce in simple widget parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed Dec 15, 2021
1 parent 8481cc4 commit b12bfeb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ class Editor extends Component {
}

shouldComponentUpdate(nextProps) {
return (nextProps.content !== this.editor.getContent()
&& nextProps.content !== this.props.content)
return this.editor
&& nextProps.content !== this.editor.getContent()
&& nextProps.content !== this.props.content
}

componentWillUnmount() {
Expand Down

0 comments on commit b12bfeb

Please sign in to comment.