codeslayer1 / react-ckeditor

CKEditor component for React with plugin and custom event listeners support
MIT License
129 stars 34 forks source link

this.setState() is not defined in onChange() #47

Closed malikdimter closed 6 years ago

malikdimter commented 6 years ago

the fix:

constructor(props) {
    super(props);
    this.onChange = this.onChange.bind(this);
}
codeslayer1 commented 6 years ago

closing due to no relevance to the package.