We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199fd01 commit a506a23Copy full SHA for a506a23
src/index.js
@@ -33,7 +33,7 @@ module.exports = React.createClass({
33
},
34
35
componentWillReceiveProps: function(nextProps) {
36
- if (!this.state.keyChange) {
+ if (!this.state.keyChange && (nextProps.value !== this.simplemde.value())) {
37
this.simplemde.value(nextProps.value)
38
}
39
0 commit comments