Skip to content Skip to sidebar Skip to footer

Trix-editor On Change Event Not Working

From couple of days,I am struggling to get tirx-change event fired when trix-editor's content changes.But not able to figure out the issue.I am using react js for view. Below is my

Solution 1:

you call setState was wrong. It should be changed to

handleChangeTrix(event){this.setState({description:
event.target.description.value});

Post a Comment for "Trix-editor On Change Event Not Working"