react-ckeditor-wrapper
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -45,4 +45,4 @@ 'use strict'; | ||
CKEditor.prototype.handleChange = function handleChange(value) { | ||
this.state.onChange(value); | ||
CKEditor.prototype.handleChange = function handleChange() { | ||
this.state.onChange(this.state.value); | ||
}; | ||
@@ -60,3 +60,4 @@ | ||
this.instance.on('change', function () { | ||
_this2.handleChange(_this2.instance.getData()); | ||
_this2.state.value = _this2.instance.getData(); | ||
_this2.handleChange(); | ||
}); | ||
@@ -70,2 +71,3 @@ }; | ||
CKEditor.prototype.componentWillReceiveProps = function componentWillReceiveProps(props) { | ||
console.log(props); | ||
this.state = { | ||
@@ -72,0 +74,0 @@ value: this.props.value, |
{ | ||
"name": "react-ckeditor-wrapper", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"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
5849
72