You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When ContentEditable in contenteditable="true", no trigger onChange。
example:
<div id="root" contenteditable="true">
....
<ContentEditable
id="e1"
html={this.state.html1} // innerHTML of the editable div
disabled={false} // use true to disable edition
onChange={this.handleChange} // handle innerHTML change
/>
</div>
When making an editor, I need to use ContentEditable nested in contenteditable="true", but onChange cannot be triggered. Is there any solution, thank you。
The text was updated successfully, but these errors were encountered:
When ContentEditable in contenteditable="true", no trigger onChange。
example:
When making an editor, I need to use ContentEditable nested in contenteditable="true", but onChange cannot be triggered. Is there any solution, thank you。
The text was updated successfully, but these errors were encountered: