contenteditable: remove warning about unknown property onContentChange (#3161)
This commit is contained in:
parent
3f4887020d
commit
056bd9f152
@ -53,6 +53,7 @@ export default class ContentEditable extends React.Component<ContentEditableProp
|
||||
const { tagName, html, ...newProps } = this.props;
|
||||
|
||||
delete newProps.onRootRef;
|
||||
delete newProps.onContentChange;
|
||||
|
||||
return React.createElement(tagName || 'div', {
|
||||
...newProps,
|
||||
|
Loading…
x
Reference in New Issue
Block a user