diff --git a/src/plugins/editor/components/editor.jsx b/src/plugins/editor/components/editor.jsx index de1e5bfa5f0..4ecdb1d79de 100644 --- a/src/plugins/editor/components/editor.jsx +++ b/src/plugins/editor/components/editor.jsx @@ -257,7 +257,7 @@ export default function makeEditor({ editorPluginsToRun }) { } // eslint-disable-next-line react/no-deprecated - componentWillReceiveProps(nextProps) { + UNSAFE_componentWillReceiveProps(nextProps) { let hasChanged = (k) => !isEqual(nextProps[k], this.props[k]) const editor = this.editor