Skip to content

Commit

Permalink
Update @wordpress/editor and fix issues (#40373)
Browse files Browse the repository at this point in the history
* Update @wordpress/editor

* Revert the temporary fix added on last update
  • Loading branch information
manzoorwanijk authored Nov 29, 2024
1 parent 7d7ccef commit 9d42462
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 29 deletions.
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated @wordpress/editor to the latest version
2 changes: 1 addition & 1 deletion projects/js-packages/publicize-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated @wordpress/editor to the latest version
2 changes: 1 addition & 1 deletion projects/packages/videopress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: other

Updated @wordpress/editor to the latest version
Original file line number Diff line number Diff line change
Expand Up @@ -305,18 +305,14 @@ export const PluginDocumentSettingPanelAiExcerpt = () => {
return null;
}
return (
<PostTypeSupportCheck
supportKeys="excerpt"
// @ts-expect-error Types for PostTypeSupportCheck children are not correct. It's `Element` instead of `ReactElement`.
children={
<PluginDocumentSettingPanel
className={ isBetaExtension( 'ai-content-lens' ) ? 'is-beta-extension inset-shadow' : '' }
name="ai-content-lens-plugin"
title={ __( 'Excerpt', 'jetpack' ) }
>
<AiPostExcerpt />
</PluginDocumentSettingPanel>
}
/>
<PostTypeSupportCheck supportKeys="excerpt">
<PluginDocumentSettingPanel
className={ isBetaExtension( 'ai-content-lens' ) ? 'is-beta-extension inset-shadow' : '' }
name="ai-content-lens-plugin"
title={ __( 'Excerpt', 'jetpack' ) }
>
<AiPostExcerpt />
</PluginDocumentSettingPanel>
</PostTypeSupportCheck>
);
};
2 changes: 1 addition & 1 deletion projects/plugins/jetpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9d42462

Please sign in to comment.