react-ckeditor-wrapper
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -38,5 +38,5 @@ 'use strict'; | ||
_this.state = { | ||
value: _this.props.value, | ||
config: _this.props.config || {}, | ||
onChange: _this.props.onChange | ||
value: props.value, | ||
config: props.config || {}, | ||
onChange: props.onChange | ||
}; | ||
@@ -72,13 +72,13 @@ return _this; | ||
this.setState({ | ||
value: this.props.value, | ||
config: this.props.config || {}, | ||
onChange: this.props.onChange | ||
value: props.value, | ||
config: props.config || {}, | ||
onChange: props.onChange | ||
}); | ||
console.log('setting value', this.props.value); | ||
console.log('setting value', this.props.value); | ||
console.log('setting value', props.value); | ||
console.log('setting value', props.value); | ||
if (!this.instance) { | ||
return; | ||
} | ||
this.instance.setData(this.props.value); | ||
this.instance.setData(props.value); | ||
}; | ||
@@ -85,0 +85,0 @@ |
{ | ||
"name": "react-ckeditor-wrapper", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "CKEditor wrapper for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5859