From 9d42462db1362fa6f83a9cfdf319b24a273799d5 Mon Sep 17 00:00:00 2001 From: Manzoor Wani Date: Fri, 29 Nov 2024 05:34:31 -0800 Subject: [PATCH] Update @wordpress/editor and fix issues (#40373) * Update @wordpress/editor * Revert the temporary fix added on last update --- pnpm-lock.yaml | 26 +++++++++---------- .../update-@wordpress-editor-and-fix-issues | 4 +++ .../publicize-components/package.json | 2 +- .../update-@wordpress-editor-and-fix-issues | 4 +++ projects/packages/videopress/package.json | 2 +- .../update-@wordpress-editor-and-fix-issues | 4 +++ .../extend/ai-post-excerpt/index.tsx | 22 +++++++--------- projects/plugins/jetpack/package.json | 2 +- 8 files changed, 37 insertions(+), 29 deletions(-) create mode 100644 projects/js-packages/publicize-components/changelog/update-@wordpress-editor-and-fix-issues create mode 100644 projects/packages/videopress/changelog/update-@wordpress-editor-and-fix-issues create mode 100644 projects/plugins/jetpack/changelog/update-@wordpress-editor-and-fix-issues diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f453b676a3c3c..c9e0eb01e4bb8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1039,8 +1039,8 @@ importers: specifier: 8.12.0 version: 8.12.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@wordpress/editor': - specifier: 14.12.0 - version: 14.12.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 14.13.0 + version: 14.13.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@wordpress/element': specifier: 6.12.0 version: 6.12.0 @@ -2879,8 +2879,8 @@ importers: specifier: 4.12.0 version: 4.12.0 '@wordpress/editor': - specifier: 14.12.0 - version: 14.12.0(@types/react-dom@18.3.1)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 14.13.0 + version: 14.13.0(@types/react-dom@18.3.1)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@wordpress/element': specifier: 6.12.0 version: 6.12.0 @@ -4055,8 +4055,8 @@ importers: specifier: 4.12.0 version: 4.12.0 '@wordpress/editor': - specifier: 14.12.0 - version: 14.12.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 14.13.0 + version: 14.13.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@wordpress/escape-html': specifier: 3.12.0 version: 3.12.0 @@ -7763,8 +7763,8 @@ packages: react: ^18.0.0 react-dom: ^18.0.0 - '@wordpress/editor@14.12.0': - resolution: {integrity: sha512-HZ6iJn7hQ+o2YgjSR0nq6DUm4EcrGuZSu9IW2pT9XGe5oq5qCzen1jSBd5Mh6jk/HWwK8kuz6sKGLlTwuexyHA==} + '@wordpress/editor@14.13.0': + resolution: {integrity: sha512-cZl9UTv4lPPFFStcsaDA/J8GNDGWq6rqZQAUiwppVSkn8+Fz5+EYDECPiZ4dWa11JJmXR6gvHHsH0681fPlZaQ==} engines: {node: '>=18.12.0', npm: '>=8.19.2'} peerDependencies: react: ^18.0.0 @@ -18596,7 +18596,7 @@ snapshots: '@wordpress/data': 10.12.0(react@18.3.1) '@wordpress/deprecated': 4.11.0 '@wordpress/dom': 4.11.0 - '@wordpress/editor': 14.12.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@wordpress/editor': 14.13.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@wordpress/element': 6.12.0 '@wordpress/hooks': 4.12.0 '@wordpress/html-entities': 4.12.0 @@ -18640,7 +18640,7 @@ snapshots: '@wordpress/data': 10.12.0(react@18.3.1) '@wordpress/deprecated': 4.11.0 '@wordpress/dom': 4.11.0 - '@wordpress/editor': 14.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@wordpress/editor': 14.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@wordpress/element': 6.12.0 '@wordpress/hooks': 4.12.0 '@wordpress/html-entities': 4.12.0 @@ -18668,7 +18668,7 @@ snapshots: - supports-color - utf-8-validate - '@wordpress/editor@14.12.0(@types/react-dom@18.3.1)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@wordpress/editor@14.13.0(@types/react-dom@18.3.1)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.7 '@wordpress/a11y': 4.11.0 @@ -18727,7 +18727,7 @@ snapshots: - supports-color - utf-8-validate - '@wordpress/editor@14.12.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@wordpress/editor@14.13.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.7 '@wordpress/a11y': 4.11.0 @@ -18786,7 +18786,7 @@ snapshots: - supports-color - utf-8-validate - '@wordpress/editor@14.12.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@wordpress/editor@14.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.7 '@wordpress/a11y': 4.11.0 diff --git a/projects/js-packages/publicize-components/changelog/update-@wordpress-editor-and-fix-issues b/projects/js-packages/publicize-components/changelog/update-@wordpress-editor-and-fix-issues new file mode 100644 index 0000000000000..d73147b9c7a39 --- /dev/null +++ b/projects/js-packages/publicize-components/changelog/update-@wordpress-editor-and-fix-issues @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated @wordpress/editor to the latest version diff --git a/projects/js-packages/publicize-components/package.json b/projects/js-packages/publicize-components/package.json index 3d8833de879ec..4f0e249db891d 100644 --- a/projects/js-packages/publicize-components/package.json +++ b/projects/js-packages/publicize-components/package.json @@ -37,7 +37,7 @@ "@wordpress/dataviews": "4.8.0", "@wordpress/date": "5.12.0", "@wordpress/edit-post": "8.12.0", - "@wordpress/editor": "14.12.0", + "@wordpress/editor": "14.13.0", "@wordpress/element": "6.12.0", "@wordpress/hooks": "4.12.0", "@wordpress/html-entities": "4.12.0", diff --git a/projects/packages/videopress/changelog/update-@wordpress-editor-and-fix-issues b/projects/packages/videopress/changelog/update-@wordpress-editor-and-fix-issues new file mode 100644 index 0000000000000..d73147b9c7a39 --- /dev/null +++ b/projects/packages/videopress/changelog/update-@wordpress-editor-and-fix-issues @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated @wordpress/editor to the latest version diff --git a/projects/packages/videopress/package.json b/projects/packages/videopress/package.json index d0b1f1bf15bbd..df9299bbaa061 100644 --- a/projects/packages/videopress/package.json +++ b/projects/packages/videopress/package.json @@ -74,7 +74,7 @@ "@wordpress/data": "10.12.0", "@wordpress/date": "5.12.0", "@wordpress/dom-ready": "4.12.0", - "@wordpress/editor": "14.12.0", + "@wordpress/editor": "14.13.0", "@wordpress/element": "6.12.0", "@wordpress/html-entities": "4.12.0", "@wordpress/i18n": "5.12.0", diff --git a/projects/plugins/jetpack/changelog/update-@wordpress-editor-and-fix-issues b/projects/plugins/jetpack/changelog/update-@wordpress-editor-and-fix-issues new file mode 100644 index 0000000000000..60ffa90aafba5 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-@wordpress-editor-and-fix-issues @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Updated @wordpress/editor to the latest version diff --git a/projects/plugins/jetpack/extensions/plugins/ai-content-lens/extend/ai-post-excerpt/index.tsx b/projects/plugins/jetpack/extensions/plugins/ai-content-lens/extend/ai-post-excerpt/index.tsx index b3daf8ef0699b..f10f65add917a 100644 --- a/projects/plugins/jetpack/extensions/plugins/ai-content-lens/extend/ai-post-excerpt/index.tsx +++ b/projects/plugins/jetpack/extensions/plugins/ai-content-lens/extend/ai-post-excerpt/index.tsx @@ -305,18 +305,14 @@ export const PluginDocumentSettingPanelAiExcerpt = () => { return null; } return ( - - - - } - /> + + + + + ); }; diff --git a/projects/plugins/jetpack/package.json b/projects/plugins/jetpack/package.json index fabf3f27d62c1..eab66f22b05b4 100644 --- a/projects/plugins/jetpack/package.json +++ b/projects/plugins/jetpack/package.json @@ -143,7 +143,7 @@ "@wordpress/components": "28.12.0", "@wordpress/core-data": "7.12.0", "@wordpress/dom-ready": "4.12.0", - "@wordpress/editor": "14.12.0", + "@wordpress/editor": "14.13.0", "@wordpress/escape-html": "3.12.0", "@wordpress/keycodes": "4.12.0", "@wordpress/notices": "5.12.0",