RTC: Fix inline inserter reset on update sync#76980
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: +50 B (0%) Total Size: 7.74 MB 📦 View Changed
ℹ️ View Unchanged
|
| /** | ||
| * Checks whether two records represent the same user-visible state | ||
| * (same text content and cursor position). | ||
| */ | ||
| function recordValuesMatch( | ||
| a: UseAutocompleteProps[ 'record' ], | ||
| b: UseAutocompleteProps[ 'record' ] | ||
| ) { | ||
| return a.text === b.text && a.start === b.start && a.end === b.end; | ||
| } |
There was a problem hiding this comment.
I guess this technically can produce a false positive: same text, different formats. Though probably not important for this case.
P.S. Seems like the rich-text component should have similar utility. Basically, shallow equality for RichText records.
There was a problem hiding this comment.
You're right that this misses some of the text record attributes. I considered adding them all, but formats and replacements are arrays. These are newly created from RESET_BLOCKS, so we'd also need deep equality checking in order to fix the bug. This isn't awful but is a lot more expensive than the previous object ref comparison.
Comparing text + start/end will let us know if the last .text changed meaningfully and the popover should change. Otherwise, as you said, the formats aren't important for this behavior or related tests.
|
Flaky tests detected in de9c87d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/24045669688
|
Mamaduka
left a comment
There was a problem hiding this comment.
The focus fix for this particular bug is good ✅
I think the general problem with REST_BLOCKS might need more attention, as it will affect any consumer code that keeps track of record and triggers side effects based on it.
Can we keep the same reference for blocks that aren't affected by RTC? Will this bookkeeping be expensive?
cc @jsnajdr, @youknowriad
| /** | ||
| * Tracks the last record whose value differed from the current one. | ||
| * Used to determine whether the user has actually typed something | ||
| * (as opposed to a re-render producing a new record object with | ||
| * identical content, e.g. during a block reset). | ||
| * | ||
| * Maintains a sliding window of 2 records, similar to the original | ||
| * Set-based approach but using value comparison instead of reference | ||
| * equality so that new objects with the same content (text, start, end) | ||
| * are treated as duplicates. | ||
| */ |
There was a problem hiding this comment.
I think we can simplify the JSDoc block here. There's no need to mention previous methods or anything else. Just what it does currently.
The Tt's used for two purposes:
Technically these two cases are almost the same ( And the second use case, updating the existing entity, although it has always been present, started to be seriously used only now, when RTC was implemented. Because the "updates from external sources" didn't really happen before. This is why One of the typical recent fixes is #76025. Here The original version of #76025 added an |
Mamaduka
left a comment
There was a problem hiding this comment.
Let's add a changelog entry, and I think this is good to merge.
* Modify useLastDifferentValue to use direct text comparison * Add tests for useLastDifferentValue * Fix tests, also compare start and end location. Use Set() instead of two references * Simplify useLastDifferentValue doc block * Add CHANGELOG entry Co-authored-by: alecgeatches <alecgeatches@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org>
|
|
||
| ### Bug Fixes | ||
|
|
||
| <<<<<<< fix/rtc-inline-inserter |
There was a problem hiding this comment.
The changelog here has git conflict markers. I'm removing them at #77127
There was a problem hiding this comment.
@oandregal Thank you for fixing this, I'm not sure how this got by me.
|
There was a conflict while trying to cherry-pick the commit to the wp/7.0 branch. Please resolve the conflict manually and create a PR to the wp/7.0 branch. PRs to wp/7.0 are similar to PRs to trunk, but you should base your PR on the wp/7.0 branch instead of trunk. |
|
Cherry-pick conflict fixed in #77706. |
|
There was a conflict while trying to cherry-pick the commit to the wp/7.0 branch. Please resolve the conflict manually and create a PR to the wp/7.0 branch. PRs to wp/7.0 are similar to PRs to trunk, but you should base your PR on the wp/7.0 branch instead of trunk. |
* Modify useLastDifferentValue to use direct text comparison * Add tests for useLastDifferentValue * Fix tests, also compare start and end location. Use Set() instead of two references * Simplify useLastDifferentValue doc block * Add CHANGELOG entry Co-authored-by: alecgeatches <alecgeatches@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>
|
This PR was backported to |
This updates the pinned hash from the `gutenberg` from `e2970ba736edb99e08fb369d4fb0c378189468ee ` to `c15cef1d6b07f666df28dac0383bafb0edfe0914`. The following changes are included: - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) (WordPress/gutenberg#77110) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) (WordPress/gutenberg#77325) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Test: Connectors Point to the righ page. (WordPress/gutenberg#77272) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Core Abilities: Export initialization promise as `ready` (WordPress/gutenberg#77254) - Block Editor: Strip per-block custom CSS on save for users without edit_css (WordPress/gutenberg#76650) - Add heading level 1 for the fonts page (WordPress/gutenberg#77482) - Connectors: Treat network-active plugins as active in plugin status check (WordPress/gutenberg#77661) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - RTC: Fix "Connection Lost" dialog when too many entities are loaded (WordPress/gutenberg#77631) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - Patterns: add confirmation dialog before disconnecting/detaching (WordPress/gutenberg#75713) - Template parts: make 'Detach' context menu item consistent across patterns and template parts (WordPress/gutenberg#77581) - Remove sandbox `allow-same-origin` for core/html blocks (Merge WordPress/gutenberg#77212 to `wp/7.0`) (WordPress/gutenberg#77699) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Backport: Writing Flow: fix arrow keys skipping paragraph containing link (WordPress/gutenberg#77478) - Revisions: Improve screen reader accessibility for diff markers region and slider (WordPress/gutenberg#77660) - Connectors: Add role="list" wrapper to connector cards for valid ARIA structure (WordPress/gutenberg#77689) - Command Palette: Fix macOs label for sites unable to determine UA via PHP (WordPress/gutenberg#77638) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) (WordPress/gutenberg#77706) - Connectors: keep focus on action Button during install (WordPress/gutenberg#77544) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Core Data: Treat single-item responses specially (WordPress/gutenberg#76318) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - i18n: add context to scale (WordPress/gutenberg#76917) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - e2e: Add e2e tests for template and template part revisions (WordPress/gutenberg#76923) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) (WordPress/gutenberg#78070) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Real-time collaboration: Bundle @wordpress/sync instead of exposing as wp.sync (WordPress/gutenberg#78085) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/e2970ba736edb99e08fb369d4fb0c378189468ee…c15cef1d6b07f666df28dac0383bafb0edfe0914. Log created with: git log --reverse --format="- %s" e2970ba736edb99e08fb369d4fb0c378189468ee..c15cef1d6b07f666df28dac0383bafb0edfe0914 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy See #64595. git-svn-id: https://develop.svn.wordpress.org/trunk@62333 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `e2970ba736edb99e08fb369d4fb0c378189468ee ` to `c15cef1d6b07f666df28dac0383bafb0edfe0914`. The following changes are included: - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) (WordPress/gutenberg#77110) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) (WordPress/gutenberg#77325) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Test: Connectors Point to the righ page. (WordPress/gutenberg#77272) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Core Abilities: Export initialization promise as `ready` (WordPress/gutenberg#77254) - Block Editor: Strip per-block custom CSS on save for users without edit_css (WordPress/gutenberg#76650) - Add heading level 1 for the fonts page (WordPress/gutenberg#77482) - Connectors: Treat network-active plugins as active in plugin status check (WordPress/gutenberg#77661) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - RTC: Fix "Connection Lost" dialog when too many entities are loaded (WordPress/gutenberg#77631) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - Patterns: add confirmation dialog before disconnecting/detaching (WordPress/gutenberg#75713) - Template parts: make 'Detach' context menu item consistent across patterns and template parts (WordPress/gutenberg#77581) - Remove sandbox `allow-same-origin` for core/html blocks (Merge WordPress/gutenberg#77212 to `wp/7.0`) (WordPress/gutenberg#77699) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Backport: Writing Flow: fix arrow keys skipping paragraph containing link (WordPress/gutenberg#77478) - Revisions: Improve screen reader accessibility for diff markers region and slider (WordPress/gutenberg#77660) - Connectors: Add role="list" wrapper to connector cards for valid ARIA structure (WordPress/gutenberg#77689) - Command Palette: Fix macOs label for sites unable to determine UA via PHP (WordPress/gutenberg#77638) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) (WordPress/gutenberg#77706) - Connectors: keep focus on action Button during install (WordPress/gutenberg#77544) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Core Data: Treat single-item responses specially (WordPress/gutenberg#76318) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - i18n: add context to scale (WordPress/gutenberg#76917) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - e2e: Add e2e tests for template and template part revisions (WordPress/gutenberg#76923) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) (WordPress/gutenberg#78070) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Real-time collaboration: Bundle @wordpress/sync instead of exposing as wp.sync (WordPress/gutenberg#78085) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/e2970ba736edb99e08fb369d4fb0c378189468ee…c15cef1d6b07f666df28dac0383bafb0edfe0914. Log created with: git log --reverse --format="- %s" e2970ba736edb99e08fb369d4fb0c378189468ee..c15cef1d6b07f666df28dac0383bafb0edfe0914 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy See #64595. Built from https://develop.svn.wordpress.org/trunk@62333 git-svn-id: http://core.svn.wordpress.org/trunk@61614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the pinned hash from the `gutenberg` from `e2970ba736edb99e08fb369d4fb0c378189468ee ` to `c15cef1d6b07f666df28dac0383bafb0edfe0914`. The following changes are included: - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) (WordPress/gutenberg#77110) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) (WordPress/gutenberg#77325) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Test: Connectors Point to the righ page. (WordPress/gutenberg#77272) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Core Abilities: Export initialization promise as `ready` (WordPress/gutenberg#77254) - Block Editor: Strip per-block custom CSS on save for users without edit_css (WordPress/gutenberg#76650) - Add heading level 1 for the fonts page (WordPress/gutenberg#77482) - Connectors: Treat network-active plugins as active in plugin status check (WordPress/gutenberg#77661) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - RTC: Fix "Connection Lost" dialog when too many entities are loaded (WordPress/gutenberg#77631) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - Patterns: add confirmation dialog before disconnecting/detaching (WordPress/gutenberg#75713) - Template parts: make 'Detach' context menu item consistent across patterns and template parts (WordPress/gutenberg#77581) - Remove sandbox `allow-same-origin` for core/html blocks (Merge WordPress/gutenberg#77212 to `wp/7.0`) (WordPress/gutenberg#77699) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Backport: Writing Flow: fix arrow keys skipping paragraph containing link (WordPress/gutenberg#77478) - Revisions: Improve screen reader accessibility for diff markers region and slider (WordPress/gutenberg#77660) - Connectors: Add role="list" wrapper to connector cards for valid ARIA structure (WordPress/gutenberg#77689) - Command Palette: Fix macOs label for sites unable to determine UA via PHP (WordPress/gutenberg#77638) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) (WordPress/gutenberg#77706) - Connectors: keep focus on action Button during install (WordPress/gutenberg#77544) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Core Data: Treat single-item responses specially (WordPress/gutenberg#76318) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - i18n: add context to scale (WordPress/gutenberg#76917) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - e2e: Add e2e tests for template and template part revisions (WordPress/gutenberg#76923) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) (WordPress/gutenberg#78070) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Real-time collaboration: Bundle @wordpress/sync instead of exposing as wp.sync (WordPress/gutenberg#78085) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/e2970ba736edb99e08fb369d4fb0c378189468ee…c15cef1d6b07f666df28dac0383bafb0edfe0914. Log created with: git log --reverse --format="- %s" e2970ba736edb99e08fb369d4fb0c378189468ee..c15cef1d6b07f666df28dac0383bafb0edfe0914 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy Reviewed by desrosj. Merges [62333] to the 7.0 branch. Props ellatrix, desrosj. See #64595. git-svn-id: https://develop.svn.wordpress.org/branches/7.0@62335 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `e2970ba736edb99e08fb369d4fb0c378189468ee ` to `c15cef1d6b07f666df28dac0383bafb0edfe0914`. The following changes are included: - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) (WordPress/gutenberg#77110) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) (WordPress/gutenberg#77325) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Test: Connectors Point to the righ page. (WordPress/gutenberg#77272) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Core Abilities: Export initialization promise as `ready` (WordPress/gutenberg#77254) - Block Editor: Strip per-block custom CSS on save for users without edit_css (WordPress/gutenberg#76650) - Add heading level 1 for the fonts page (WordPress/gutenberg#77482) - Connectors: Treat network-active plugins as active in plugin status check (WordPress/gutenberg#77661) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - RTC: Fix "Connection Lost" dialog when too many entities are loaded (WordPress/gutenberg#77631) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - Patterns: add confirmation dialog before disconnecting/detaching (WordPress/gutenberg#75713) - Template parts: make 'Detach' context menu item consistent across patterns and template parts (WordPress/gutenberg#77581) - Remove sandbox `allow-same-origin` for core/html blocks (Merge WordPress/gutenberg#77212 to `wp/7.0`) (WordPress/gutenberg#77699) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Backport: Writing Flow: fix arrow keys skipping paragraph containing link (WordPress/gutenberg#77478) - Revisions: Improve screen reader accessibility for diff markers region and slider (WordPress/gutenberg#77660) - Connectors: Add role="list" wrapper to connector cards for valid ARIA structure (WordPress/gutenberg#77689) - Command Palette: Fix macOs label for sites unable to determine UA via PHP (WordPress/gutenberg#77638) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) (WordPress/gutenberg#77706) - Connectors: keep focus on action Button during install (WordPress/gutenberg#77544) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Core Data: Treat single-item responses specially (WordPress/gutenberg#76318) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - i18n: add context to scale (WordPress/gutenberg#76917) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - e2e: Add e2e tests for template and template part revisions (WordPress/gutenberg#76923) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) (WordPress/gutenberg#78070) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Real-time collaboration: Bundle @wordpress/sync instead of exposing as wp.sync (WordPress/gutenberg#78085) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/e2970ba736edb99e08fb369d4fb0c378189468ee…c15cef1d6b07f666df28dac0383bafb0edfe0914. Log created with: git log --reverse --format="- %s" e2970ba736edb99e08fb369d4fb0c378189468ee..c15cef1d6b07f666df28dac0383bafb0edfe0914 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy Reviewed by desrosj. Merges [62333] to the 7.0 branch. Props ellatrix, desrosj. See #64595. Built from https://develop.svn.wordpress.org/branches/7.0@62335 git-svn-id: http://core.svn.wordpress.org/branches/7.0@61616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the pinned commit hash of the Gutenberg repository from `5426109cdaf45828ef28ff8527d7d38e7e75fe74` (version `22.9.0`) to `7295bd91a3c2b64bb11dde0a12313210d9d16a12` (version `23.0.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v22.9.0..v23.0.0. The following commits are included: - Classify admin-ui and dataviews to components (WordPress/gutenberg#76959) - Add performance metrics for client-side media processing (WordPress/gutenberg#76792) - Connectors: Update help text from 'reset' to 'manage' (WordPress/gutenberg#76963) - Connectors: Hide Akismet unless already installed (WordPress/gutenberg#76962) - Remove unused catch block variables across the codebase (WordPress/gutenberg#76969) - Wrap sync update processing in try/catch (WordPress/gutenberg#76968) - Backport: Improve validation and permission checks for `WP_HTTP_Polling_Sync_Server` (WordPress/gutenberg#76987) - BlockMover: Remove unused disabled button props (WordPress/gutenberg#76993) - Core Data: Fix incorrect pagination for non-paginated entities (WordPress/gutenberg#76406) - Block Editor: Display shortcuts for moving blocks via tooltips (WordPress/gutenberg#76992) - Convert directories in test/ to workspaces (WordPress/gutenberg#74684) - RTC: Fix core/table cell merging (WordPress/gutenberg#76913) - Components: Extract the autocomplete matcher into a separate function (WordPress/gutenberg#76957) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Build Tools: Update TypeScript to 6.0.2 (WordPress/gutenberg#77010) - Text: Remove UA margins (WordPress/gutenberg#76970) - Fix pre-existing lint errors across the codebase (WordPress/gutenberg#77002) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) - Card: Set default foreground color on root (WordPress/gutenberg#77013) - TypeScript: Migrate a11y package to TS (WordPress/gutenberg#70680) - Button: Remove unused Storybook story stylesheet (WordPress/gutenberg#77031) - Improve CSS setup instructions in package readmes (WordPress/gutenberg#76975) - Use Link component in details story example (WordPress/gutenberg#76997) - @wordpress/ui: Add global CSS defense module (WordPress/gutenberg#76783) - Autocompleters: Move and improve links search (WordPress/gutenberg#76995) - Autocomplete: Refactor useAutocomplete to use useReducer (WordPress/gutenberg#77020) - Components: Fix autocomplete overlapping trigger matching (WordPress/gutenberg#77018) - Fix: A sentence has no ending punctuation in README.md file. (WordPress/gutenberg#77027) - `ValidatedRangeControl`: Fix aria-label rendered as [object Object] (WordPress/gutenberg#77042) - HStack, VStack: Mark as not recommended for use (WordPress/gutenberg#77041) - Tests: Fix wp-env scripts not found in test workspaces (WordPress/gutenberg#77055) - Bump the github-actions group across 1 directory with 2 updates (WordPress/gutenberg#77030) - Autocomplete: Clarify 'isDebounced' setting limitation (WordPress/gutenberg#77062) - Fix SyntaxError in Autocompleter UI when pasting matching content (WordPress/gutenberg#76961) - Connectors: account for mu-plugins when resolving plugin.file status (WordPress/gutenberg#76994) - Storybook: Fix E2E subpath exports and add CI build smoke test (WordPress/gutenberg#77034) - Fix Storybook cursor Default option passing theme token (WordPress/gutenberg#77037) - Storybook: Enable theming toolbar for wp-components (WordPress/gutenberg#77038) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Editor: Fix 'selectedNote' action PHPDoc (WordPress/gutenberg#77080) - Tests: Fix argument forwarding for workspace test scripts (WordPress/gutenberg#77083) - Search block: Derive 'isSearchFieldHidden' value (WordPress/gutenberg#77082) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Fields: Fix `postContentInfoField` when there are edits (WordPress/gutenberg#76901) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - i18n: Make sprintf return FormattedText for type-safe createInterpolateElement (WordPress/gutenberg#76974) - Block Editor store: refactor controlledInnerBlocks to Set (WordPress/gutenberg#77094) - DataForm: support disabled controls (WordPress/gutenberg#77090) - ESLint plugin: Disable `jsx-a11y/heading-has-content` (WordPress/gutenberg#77073) - Remove remaining esModuleInterop usage (WordPress/gutenberg#77095) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - RTC: Respect WP_ALLOW_COLLABORATION in Gutenberg for activation hook (WordPress/gutenberg#77084) - Add iteration issue template (WordPress/gutenberg#77113) - Media Modal Experiment: Set matching picker grid layout properties for when a user switches between layouts (WordPress/gutenberg#77118) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - updateBlockListSettings: convert state to Map, do all updates in one action (WordPress/gutenberg#46392) - DataViews: Fix `compact` density clipping and remove top/bottom padding (WordPress/gutenberg#77054) - Icons: Override WP_Icons_Registry singleton with Gutenberg icons registry (WordPress/gutenberg#76455) - Button: Remove obsolete Safari + VoiceOver workaround (WordPress/gutenberg#77107) - E2E Tests: Ensure artifacts generate correctly and remove unnecessary artifacts (WordPress/gutenberg#77093) - UI `Text`: Mark as recommended (WordPress/gutenberg#77044) - ui/AlertDialog: better async confirm APIs, fully use base ui's `AlertDialog` (WordPress/gutenberg#76937) - BlockStyleVariationOverridesWithConfig: change name and fix lint errors (WordPress/gutenberg#77130) - Add `.scss` files to CSS module linting (WordPress/gutenberg#77140) - BoxControl: remove unused state for icon side (WordPress/gutenberg#77143) - Fix overflow of Highlighted white-space in Code Block (WordPress/gutenberg#77085) - move pseudo-state slicing logic into useStyle hook (WordPress/gutenberg#77104) - Autocomplete: Remove getAutoCompleterUI factory pattern (WordPress/gutenberg#77048) - Add `date` field in templates and template parts (WordPress/gutenberg#77134) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - Remove 'Home' and 'End' key usage from Navigation Tests (WordPress/gutenberg#77102) - Guidelines: Update actions-section and import/export workflow (WordPress/gutenberg#76621) - Image block: Hide drag handles while an upload is in progress (WordPress/gutenberg#77121) - Build: Fix glob ignore patterns in dot-prefixed directories (WordPress/gutenberg#75114) - Added missing documentation in `collaboration.php` (WordPress/gutenberg#77173) - `@wordpress/ui`: add `Popover` (WordPress/gutenberg#76438) - Add Site Tagline and Site Title to Design > Identity panel (WordPress/gutenberg#76264) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Components: update React function names for better ESLint detection (WordPress/gutenberg#77148) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - MediaEdit: handle '*' wildcard in validateMimeType (WordPress/gutenberg#77168) - Search block : Match behaviour of global styling for border and color with local styling (inspector controls) to remove inconsistency (WordPress/gutenberg#77060) - Re-order spacing side controls when unlinked (WordPress/gutenberg#66317) - Dataviews: remove unneeded ref callbacks (WordPress/gutenberg#77179) - Experiment: Add revisions panel to templates, template parts and patterns (WordPress/gutenberg#77008) - Guidelines CPT: Changes slug from wp_content_guidelines to wp_guidelines (WordPress/gutenberg#77147) - TextArea: add disabled styles (WordPress/gutenberg#77129) - Writing Flow: Fix format toolbar not appearing when selecting text from block edge (WordPress/gutenberg#77136) - DataForm: Remove `text-transform` from `panel` field labels (WordPress/gutenberg#77196) - FormTokenField: fix disabled styles (WordPress/gutenberg#77137) - Admin UI: Increase page header vertical padding (WordPress/gutenberg#77152) - Use entity link title for link control preview (WordPress/gutenberg#77155) - TypeScript: migrate annotations package to TS (WordPress/gutenberg#70602) - refactor: migrate bin/api-docs to tools/api-docs as workspace `@wordpress/api-docs-generator` (WordPress/gutenberg#77019) - TypeScript: Migrate viewport package (WordPress/gutenberg#71118) - UI/Tooltip: Add usage guidelines documentation (WordPress/gutenberg#77158) - RadioControl: add support for disabling radio group (WordPress/gutenberg#77127) - Upgrade ESLint to v10 (WordPress/gutenberg#76654) - Add e2e test coverage for the Guidelines settings page (WordPress/gutenberg#77192) - Admin UI: Update Page background color to surface-neutral (WordPress/gutenberg#76869) - Fix lint-staged API docs path (WordPress/gutenberg#77203) - PresetInputControl: Fix clearing of numeric value in custom input control (WordPress/gutenberg#77139) - Upload external media: Ensure notice only fires once (WordPress/gutenberg#77218) - Checkbox: fix disabled styles (WordPress/gutenberg#77132) - FormToggle: Update disabled styles (WordPress/gutenberg#77208) - Calendar: fix disabled styles (WordPress/gutenberg#77138) - Textarea: remove unnecessary styles (WordPress/gutenberg#77221) - Search Block: Ensure color settings apply to input field when button is disabled (WordPress/gutenberg#77219) - iAPI Docs: Fix typos, code errors, and inaccuracies in the documentation (WordPress/gutenberg#76636) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Guidelines: Improve guideline revision UX (WordPress/gutenberg#76560) - ui/`Dialog`: update Header layout, refactor Title to use Text (WordPress/gutenberg#77161) - ui/docs: add additional global css setup instructions (WordPress/gutenberg#77228) - ui/VisuallyHidden: Standardize composition pattern (WordPress/gutenberg#77190) - ui: expose `container` portal prop on all overlay Popup components (WordPress/gutenberg#77163) - Components: Use `--wpds-cursor-control` for interactive controls (Sass only) (WordPress/gutenberg#76786) - Card: Remove redundant margin reset from Card.Title (WordPress/gutenberg#77187) - Theme: Rename typography tokens to use "typography" prefix (WordPress/gutenberg#76912) - UI: Normalize render prop and ref forwarding patterns (WordPress/gutenberg#77160) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - RTC: Improve array attribute stability when structural changes occur (WordPress/gutenberg#77164) - Env: Fix loopback requests when running on non-default ports (WordPress/gutenberg#77057) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Use image.copyMemory() for batch thumbnail generation (WordPress/gutenberg#76979) - Post Author Biography: Preserve occurance of white spaces (WordPress/gutenberg#71133) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Resolve package-lock.json inconsistency for @babel/eslint-parser (WordPress/gutenberg#77256) - Fix duotone filter not applying on style variation switch (WordPress/gutenberg#77229) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - DataViews: simplify `defaultLayouts` prop (WordPress/gutenberg#77232) - getMergedItemsIds: receive full page bigger than perPage (WordPress/gutenberg#77262) - FormTokenField: remove unnecessary styles (WordPress/gutenberg#77263) - TypeScript: Migrate `packages/list-reusable-blocks` package to TypeScript (WordPress/gutenberg#70518) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - Guidelines: Try removing the jsxRuntime pragma and see what happens (WordPress/gutenberg#77255) - DataForm: Show tooltip in edit button in `panel` layout (WordPress/gutenberg#77024) - blocks: Convert blocks package to TypeScript (WordPress/gutenberg#76312) - Fix Gutenberg_REST_View_Config_Controller_7_1 PHP warnings (WordPress/gutenberg#77290) - renamed focus visible (WordPress/gutenberg#77292) - page.waitForFunction: fix call arguments (WordPress/gutenberg#77300) - Tabs: Simplify anchor handling (WordPress/gutenberg#77189) - Tests: Auto-fix some new 'eslint-plugin-playwright' warnings (WordPress/gutenberg#77314) - Tab Menu Item: simplify active tab menu item style (WordPress/gutenberg#77195) - Eslint: Suggest alternative in `no-setting-ds-tokens` rule (WordPress/gutenberg#77154) - Autocomplete: Fix flaky e2e tests (WordPress/gutenberg#77322) - UI: Update `@base-ui/react` from `1.3.0` to `1.4.0` (WordPress/gutenberg#77308) - Docs: Add README for DatePicker and TimePicker Components (WordPress/gutenberg#70365) - UI: use Text component for Badge typography (WordPress/gutenberg#77295) - Block Editor: Extract getElementCSSRules from useBlockProps (WordPress/gutenberg#77327) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Guidelines CPT: Rename references from content guidelines to guidelines (WordPress/gutenberg#77223) - Dialog: add explicit margin-inline-end rule to Title (WordPress/gutenberg#77334) - Remove sandbox `allow-same-origin` for core/html blocks (WordPress/gutenberg#77212) - Block Directory: Use `--wpds-cursor-control` design token (WordPress/gutenberg#77330) - Registers wp_guideline_type taxonomy (WordPress/gutenberg#77156) - DataForm: Add min/max date range support for date and datetime fields (WordPress/gutenberg#77201) - Separator Block: Apply default block variation when inserting via `---` shortcut (WordPress/gutenberg#77135) - Paragraph: Prevent `onEnter` splitting of parent block when insertion of that block type is not allowed (WordPress/gutenberg#77291) - Media Upload Modal: Persist view configuration (WordPress/gutenberg#77288) - Image block: Validate attachment ID exists before treating image as local (WordPress/gutenberg#77178) - Tabs: remove sequential numbering from new tab labels (WordPress/gutenberg#77321) - DataViews: Use `--wpds-cursor-control` design token for interactive controls (WordPress/gutenberg#77259) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Guidelines CPT: Skip registration when post type already exists (WordPress/gutenberg#77486) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Guidelines: Make the CPT type-aware (WordPress/gutenberg#77491) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65557. git-svn-id: https://develop.svn.wordpress.org/trunk@62580 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned commit hash of the Gutenberg repository from `5426109cdaf45828ef28ff8527d7d38e7e75fe74` (version `22.9.0`) to `7295bd91a3c2b64bb11dde0a12313210d9d16a12` (version `23.0.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v22.9.0..v23.0.0. The following commits are included: - Classify admin-ui and dataviews to components (WordPress/gutenberg#76959) - Add performance metrics for client-side media processing (WordPress/gutenberg#76792) - Connectors: Update help text from 'reset' to 'manage' (WordPress/gutenberg#76963) - Connectors: Hide Akismet unless already installed (WordPress/gutenberg#76962) - Remove unused catch block variables across the codebase (WordPress/gutenberg#76969) - Wrap sync update processing in try/catch (WordPress/gutenberg#76968) - Backport: Improve validation and permission checks for `WP_HTTP_Polling_Sync_Server` (WordPress/gutenberg#76987) - BlockMover: Remove unused disabled button props (WordPress/gutenberg#76993) - Core Data: Fix incorrect pagination for non-paginated entities (WordPress/gutenberg#76406) - Block Editor: Display shortcuts for moving blocks via tooltips (WordPress/gutenberg#76992) - Convert directories in test/ to workspaces (WordPress/gutenberg#74684) - RTC: Fix core/table cell merging (WordPress/gutenberg#76913) - Components: Extract the autocomplete matcher into a separate function (WordPress/gutenberg#76957) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Build Tools: Update TypeScript to 6.0.2 (WordPress/gutenberg#77010) - Text: Remove UA margins (WordPress/gutenberg#76970) - Fix pre-existing lint errors across the codebase (WordPress/gutenberg#77002) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) - Card: Set default foreground color on root (WordPress/gutenberg#77013) - TypeScript: Migrate a11y package to TS (WordPress/gutenberg#70680) - Button: Remove unused Storybook story stylesheet (WordPress/gutenberg#77031) - Improve CSS setup instructions in package readmes (WordPress/gutenberg#76975) - Use Link component in details story example (WordPress/gutenberg#76997) - @wordpress/ui: Add global CSS defense module (WordPress/gutenberg#76783) - Autocompleters: Move and improve links search (WordPress/gutenberg#76995) - Autocomplete: Refactor useAutocomplete to use useReducer (WordPress/gutenberg#77020) - Components: Fix autocomplete overlapping trigger matching (WordPress/gutenberg#77018) - Fix: A sentence has no ending punctuation in README.md file. (WordPress/gutenberg#77027) - `ValidatedRangeControl`: Fix aria-label rendered as [object Object] (WordPress/gutenberg#77042) - HStack, VStack: Mark as not recommended for use (WordPress/gutenberg#77041) - Tests: Fix wp-env scripts not found in test workspaces (WordPress/gutenberg#77055) - Bump the github-actions group across 1 directory with 2 updates (WordPress/gutenberg#77030) - Autocomplete: Clarify 'isDebounced' setting limitation (WordPress/gutenberg#77062) - Fix SyntaxError in Autocompleter UI when pasting matching content (WordPress/gutenberg#76961) - Connectors: account for mu-plugins when resolving plugin.file status (WordPress/gutenberg#76994) - Storybook: Fix E2E subpath exports and add CI build smoke test (WordPress/gutenberg#77034) - Fix Storybook cursor Default option passing theme token (WordPress/gutenberg#77037) - Storybook: Enable theming toolbar for wp-components (WordPress/gutenberg#77038) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Editor: Fix 'selectedNote' action PHPDoc (WordPress/gutenberg#77080) - Tests: Fix argument forwarding for workspace test scripts (WordPress/gutenberg#77083) - Search block: Derive 'isSearchFieldHidden' value (WordPress/gutenberg#77082) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Fields: Fix `postContentInfoField` when there are edits (WordPress/gutenberg#76901) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - i18n: Make sprintf return FormattedText for type-safe createInterpolateElement (WordPress/gutenberg#76974) - Block Editor store: refactor controlledInnerBlocks to Set (WordPress/gutenberg#77094) - DataForm: support disabled controls (WordPress/gutenberg#77090) - ESLint plugin: Disable `jsx-a11y/heading-has-content` (WordPress/gutenberg#77073) - Remove remaining esModuleInterop usage (WordPress/gutenberg#77095) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - RTC: Respect WP_ALLOW_COLLABORATION in Gutenberg for activation hook (WordPress/gutenberg#77084) - Add iteration issue template (WordPress/gutenberg#77113) - Media Modal Experiment: Set matching picker grid layout properties for when a user switches between layouts (WordPress/gutenberg#77118) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - updateBlockListSettings: convert state to Map, do all updates in one action (WordPress/gutenberg#46392) - DataViews: Fix `compact` density clipping and remove top/bottom padding (WordPress/gutenberg#77054) - Icons: Override WP_Icons_Registry singleton with Gutenberg icons registry (WordPress/gutenberg#76455) - Button: Remove obsolete Safari + VoiceOver workaround (WordPress/gutenberg#77107) - E2E Tests: Ensure artifacts generate correctly and remove unnecessary artifacts (WordPress/gutenberg#77093) - UI `Text`: Mark as recommended (WordPress/gutenberg#77044) - ui/AlertDialog: better async confirm APIs, fully use base ui's `AlertDialog` (WordPress/gutenberg#76937) - BlockStyleVariationOverridesWithConfig: change name and fix lint errors (WordPress/gutenberg#77130) - Add `.scss` files to CSS module linting (WordPress/gutenberg#77140) - BoxControl: remove unused state for icon side (WordPress/gutenberg#77143) - Fix overflow of Highlighted white-space in Code Block (WordPress/gutenberg#77085) - move pseudo-state slicing logic into useStyle hook (WordPress/gutenberg#77104) - Autocomplete: Remove getAutoCompleterUI factory pattern (WordPress/gutenberg#77048) - Add `date` field in templates and template parts (WordPress/gutenberg#77134) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - Remove 'Home' and 'End' key usage from Navigation Tests (WordPress/gutenberg#77102) - Guidelines: Update actions-section and import/export workflow (WordPress/gutenberg#76621) - Image block: Hide drag handles while an upload is in progress (WordPress/gutenberg#77121) - Build: Fix glob ignore patterns in dot-prefixed directories (WordPress/gutenberg#75114) - Added missing documentation in `collaboration.php` (WordPress/gutenberg#77173) - `@wordpress/ui`: add `Popover` (WordPress/gutenberg#76438) - Add Site Tagline and Site Title to Design > Identity panel (WordPress/gutenberg#76264) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Components: update React function names for better ESLint detection (WordPress/gutenberg#77148) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - MediaEdit: handle '*' wildcard in validateMimeType (WordPress/gutenberg#77168) - Search block : Match behaviour of global styling for border and color with local styling (inspector controls) to remove inconsistency (WordPress/gutenberg#77060) - Re-order spacing side controls when unlinked (WordPress/gutenberg#66317) - Dataviews: remove unneeded ref callbacks (WordPress/gutenberg#77179) - Experiment: Add revisions panel to templates, template parts and patterns (WordPress/gutenberg#77008) - Guidelines CPT: Changes slug from wp_content_guidelines to wp_guidelines (WordPress/gutenberg#77147) - TextArea: add disabled styles (WordPress/gutenberg#77129) - Writing Flow: Fix format toolbar not appearing when selecting text from block edge (WordPress/gutenberg#77136) - DataForm: Remove `text-transform` from `panel` field labels (WordPress/gutenberg#77196) - FormTokenField: fix disabled styles (WordPress/gutenberg#77137) - Admin UI: Increase page header vertical padding (WordPress/gutenberg#77152) - Use entity link title for link control preview (WordPress/gutenberg#77155) - TypeScript: migrate annotations package to TS (WordPress/gutenberg#70602) - refactor: migrate bin/api-docs to tools/api-docs as workspace `@wordpress/api-docs-generator` (WordPress/gutenberg#77019) - TypeScript: Migrate viewport package (WordPress/gutenberg#71118) - UI/Tooltip: Add usage guidelines documentation (WordPress/gutenberg#77158) - RadioControl: add support for disabling radio group (WordPress/gutenberg#77127) - Upgrade ESLint to v10 (WordPress/gutenberg#76654) - Add e2e test coverage for the Guidelines settings page (WordPress/gutenberg#77192) - Admin UI: Update Page background color to surface-neutral (WordPress/gutenberg#76869) - Fix lint-staged API docs path (WordPress/gutenberg#77203) - PresetInputControl: Fix clearing of numeric value in custom input control (WordPress/gutenberg#77139) - Upload external media: Ensure notice only fires once (WordPress/gutenberg#77218) - Checkbox: fix disabled styles (WordPress/gutenberg#77132) - FormToggle: Update disabled styles (WordPress/gutenberg#77208) - Calendar: fix disabled styles (WordPress/gutenberg#77138) - Textarea: remove unnecessary styles (WordPress/gutenberg#77221) - Search Block: Ensure color settings apply to input field when button is disabled (WordPress/gutenberg#77219) - iAPI Docs: Fix typos, code errors, and inaccuracies in the documentation (WordPress/gutenberg#76636) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Guidelines: Improve guideline revision UX (WordPress/gutenberg#76560) - ui/`Dialog`: update Header layout, refactor Title to use Text (WordPress/gutenberg#77161) - ui/docs: add additional global css setup instructions (WordPress/gutenberg#77228) - ui/VisuallyHidden: Standardize composition pattern (WordPress/gutenberg#77190) - ui: expose `container` portal prop on all overlay Popup components (WordPress/gutenberg#77163) - Components: Use `--wpds-cursor-control` for interactive controls (Sass only) (WordPress/gutenberg#76786) - Card: Remove redundant margin reset from Card.Title (WordPress/gutenberg#77187) - Theme: Rename typography tokens to use "typography" prefix (WordPress/gutenberg#76912) - UI: Normalize render prop and ref forwarding patterns (WordPress/gutenberg#77160) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - RTC: Improve array attribute stability when structural changes occur (WordPress/gutenberg#77164) - Env: Fix loopback requests when running on non-default ports (WordPress/gutenberg#77057) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Use image.copyMemory() for batch thumbnail generation (WordPress/gutenberg#76979) - Post Author Biography: Preserve occurance of white spaces (WordPress/gutenberg#71133) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Resolve package-lock.json inconsistency for @babel/eslint-parser (WordPress/gutenberg#77256) - Fix duotone filter not applying on style variation switch (WordPress/gutenberg#77229) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - DataViews: simplify `defaultLayouts` prop (WordPress/gutenberg#77232) - getMergedItemsIds: receive full page bigger than perPage (WordPress/gutenberg#77262) - FormTokenField: remove unnecessary styles (WordPress/gutenberg#77263) - TypeScript: Migrate `packages/list-reusable-blocks` package to TypeScript (WordPress/gutenberg#70518) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - Guidelines: Try removing the jsxRuntime pragma and see what happens (WordPress/gutenberg#77255) - DataForm: Show tooltip in edit button in `panel` layout (WordPress/gutenberg#77024) - blocks: Convert blocks package to TypeScript (WordPress/gutenberg#76312) - Fix Gutenberg_REST_View_Config_Controller_7_1 PHP warnings (WordPress/gutenberg#77290) - renamed focus visible (WordPress/gutenberg#77292) - page.waitForFunction: fix call arguments (WordPress/gutenberg#77300) - Tabs: Simplify anchor handling (WordPress/gutenberg#77189) - Tests: Auto-fix some new 'eslint-plugin-playwright' warnings (WordPress/gutenberg#77314) - Tab Menu Item: simplify active tab menu item style (WordPress/gutenberg#77195) - Eslint: Suggest alternative in `no-setting-ds-tokens` rule (WordPress/gutenberg#77154) - Autocomplete: Fix flaky e2e tests (WordPress/gutenberg#77322) - UI: Update `@base-ui/react` from `1.3.0` to `1.4.0` (WordPress/gutenberg#77308) - Docs: Add README for DatePicker and TimePicker Components (WordPress/gutenberg#70365) - UI: use Text component for Badge typography (WordPress/gutenberg#77295) - Block Editor: Extract getElementCSSRules from useBlockProps (WordPress/gutenberg#77327) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Guidelines CPT: Rename references from content guidelines to guidelines (WordPress/gutenberg#77223) - Dialog: add explicit margin-inline-end rule to Title (WordPress/gutenberg#77334) - Remove sandbox `allow-same-origin` for core/html blocks (WordPress/gutenberg#77212) - Block Directory: Use `--wpds-cursor-control` design token (WordPress/gutenberg#77330) - Registers wp_guideline_type taxonomy (WordPress/gutenberg#77156) - DataForm: Add min/max date range support for date and datetime fields (WordPress/gutenberg#77201) - Separator Block: Apply default block variation when inserting via `---` shortcut (WordPress/gutenberg#77135) - Paragraph: Prevent `onEnter` splitting of parent block when insertion of that block type is not allowed (WordPress/gutenberg#77291) - Media Upload Modal: Persist view configuration (WordPress/gutenberg#77288) - Image block: Validate attachment ID exists before treating image as local (WordPress/gutenberg#77178) - Tabs: remove sequential numbering from new tab labels (WordPress/gutenberg#77321) - DataViews: Use `--wpds-cursor-control` design token for interactive controls (WordPress/gutenberg#77259) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Guidelines CPT: Skip registration when post type already exists (WordPress/gutenberg#77486) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Guidelines: Make the CPT type-aware (WordPress/gutenberg#77491) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65557. Built from https://develop.svn.wordpress.org/trunk@62580 git-svn-id: http://core.svn.wordpress.org/trunk@61860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the pinned commit hash of the Gutenberg repository from `5426109cdaf45828ef28ff8527d7d38e7e75fe74` (version `22.9.0`) to `7295bd91a3c2b64bb11dde0a12313210d9d16a12` (version `23.0.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v22.9.0..v23.0.0. The following commits are included: - Classify admin-ui and dataviews to components (WordPress/gutenberg#76959) - Add performance metrics for client-side media processing (WordPress/gutenberg#76792) - Connectors: Update help text from 'reset' to 'manage' (WordPress/gutenberg#76963) - Connectors: Hide Akismet unless already installed (WordPress/gutenberg#76962) - Remove unused catch block variables across the codebase (WordPress/gutenberg#76969) - Wrap sync update processing in try/catch (WordPress/gutenberg#76968) - Backport: Improve validation and permission checks for `WP_HTTP_Polling_Sync_Server` (WordPress/gutenberg#76987) - BlockMover: Remove unused disabled button props (WordPress/gutenberg#76993) - Core Data: Fix incorrect pagination for non-paginated entities (WordPress/gutenberg#76406) - Block Editor: Display shortcuts for moving blocks via tooltips (WordPress/gutenberg#76992) - Convert directories in test/ to workspaces (WordPress/gutenberg#74684) - RTC: Fix core/table cell merging (WordPress/gutenberg#76913) - Components: Extract the autocomplete matcher into a separate function (WordPress/gutenberg#76957) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Build Tools: Update TypeScript to 6.0.2 (WordPress/gutenberg#77010) - Text: Remove UA margins (WordPress/gutenberg#76970) - Fix pre-existing lint errors across the codebase (WordPress/gutenberg#77002) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) - Card: Set default foreground color on root (WordPress/gutenberg#77013) - TypeScript: Migrate a11y package to TS (WordPress/gutenberg#70680) - Button: Remove unused Storybook story stylesheet (WordPress/gutenberg#77031) - Improve CSS setup instructions in package readmes (WordPress/gutenberg#76975) - Use Link component in details story example (WordPress/gutenberg#76997) - @wordpress/ui: Add global CSS defense module (WordPress/gutenberg#76783) - Autocompleters: Move and improve links search (WordPress/gutenberg#76995) - Autocomplete: Refactor useAutocomplete to use useReducer (WordPress/gutenberg#77020) - Components: Fix autocomplete overlapping trigger matching (WordPress/gutenberg#77018) - Fix: A sentence has no ending punctuation in README.md file. (WordPress/gutenberg#77027) - `ValidatedRangeControl`: Fix aria-label rendered as [object Object] (WordPress/gutenberg#77042) - HStack, VStack: Mark as not recommended for use (WordPress/gutenberg#77041) - Tests: Fix wp-env scripts not found in test workspaces (WordPress/gutenberg#77055) - Bump the github-actions group across 1 directory with 2 updates (WordPress/gutenberg#77030) - Autocomplete: Clarify 'isDebounced' setting limitation (WordPress/gutenberg#77062) - Fix SyntaxError in Autocompleter UI when pasting matching content (WordPress/gutenberg#76961) - Connectors: account for mu-plugins when resolving plugin.file status (WordPress/gutenberg#76994) - Storybook: Fix E2E subpath exports and add CI build smoke test (WordPress/gutenberg#77034) - Fix Storybook cursor Default option passing theme token (WordPress/gutenberg#77037) - Storybook: Enable theming toolbar for wp-components (WordPress/gutenberg#77038) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Editor: Fix 'selectedNote' action PHPDoc (WordPress/gutenberg#77080) - Tests: Fix argument forwarding for workspace test scripts (WordPress/gutenberg#77083) - Search block: Derive 'isSearchFieldHidden' value (WordPress/gutenberg#77082) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Fields: Fix `postContentInfoField` when there are edits (WordPress/gutenberg#76901) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - i18n: Make sprintf return FormattedText for type-safe createInterpolateElement (WordPress/gutenberg#76974) - Block Editor store: refactor controlledInnerBlocks to Set (WordPress/gutenberg#77094) - DataForm: support disabled controls (WordPress/gutenberg#77090) - ESLint plugin: Disable `jsx-a11y/heading-has-content` (WordPress/gutenberg#77073) - Remove remaining esModuleInterop usage (WordPress/gutenberg#77095) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - RTC: Respect WP_ALLOW_COLLABORATION in Gutenberg for activation hook (WordPress/gutenberg#77084) - Add iteration issue template (WordPress/gutenberg#77113) - Media Modal Experiment: Set matching picker grid layout properties for when a user switches between layouts (WordPress/gutenberg#77118) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - updateBlockListSettings: convert state to Map, do all updates in one action (WordPress/gutenberg#46392) - DataViews: Fix `compact` density clipping and remove top/bottom padding (WordPress/gutenberg#77054) - Icons: Override WP_Icons_Registry singleton with Gutenberg icons registry (WordPress/gutenberg#76455) - Button: Remove obsolete Safari + VoiceOver workaround (WordPress/gutenberg#77107) - E2E Tests: Ensure artifacts generate correctly and remove unnecessary artifacts (WordPress/gutenberg#77093) - UI `Text`: Mark as recommended (WordPress/gutenberg#77044) - ui/AlertDialog: better async confirm APIs, fully use base ui's `AlertDialog` (WordPress/gutenberg#76937) - BlockStyleVariationOverridesWithConfig: change name and fix lint errors (WordPress/gutenberg#77130) - Add `.scss` files to CSS module linting (WordPress/gutenberg#77140) - BoxControl: remove unused state for icon side (WordPress/gutenberg#77143) - Fix overflow of Highlighted white-space in Code Block (WordPress/gutenberg#77085) - move pseudo-state slicing logic into useStyle hook (WordPress/gutenberg#77104) - Autocomplete: Remove getAutoCompleterUI factory pattern (WordPress/gutenberg#77048) - Add `date` field in templates and template parts (WordPress/gutenberg#77134) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - Remove 'Home' and 'End' key usage from Navigation Tests (WordPress/gutenberg#77102) - Guidelines: Update actions-section and import/export workflow (WordPress/gutenberg#76621) - Image block: Hide drag handles while an upload is in progress (WordPress/gutenberg#77121) - Build: Fix glob ignore patterns in dot-prefixed directories (WordPress/gutenberg#75114) - Added missing documentation in `collaboration.php` (WordPress/gutenberg#77173) - `@wordpress/ui`: add `Popover` (WordPress/gutenberg#76438) - Add Site Tagline and Site Title to Design > Identity panel (WordPress/gutenberg#76264) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Components: update React function names for better ESLint detection (WordPress/gutenberg#77148) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - MediaEdit: handle '*' wildcard in validateMimeType (WordPress/gutenberg#77168) - Search block : Match behaviour of global styling for border and color with local styling (inspector controls) to remove inconsistency (WordPress/gutenberg#77060) - Re-order spacing side controls when unlinked (WordPress/gutenberg#66317) - Dataviews: remove unneeded ref callbacks (WordPress/gutenberg#77179) - Experiment: Add revisions panel to templates, template parts and patterns (WordPress/gutenberg#77008) - Guidelines CPT: Changes slug from wp_content_guidelines to wp_guidelines (WordPress/gutenberg#77147) - TextArea: add disabled styles (WordPress/gutenberg#77129) - Writing Flow: Fix format toolbar not appearing when selecting text from block edge (WordPress/gutenberg#77136) - DataForm: Remove `text-transform` from `panel` field labels (WordPress/gutenberg#77196) - FormTokenField: fix disabled styles (WordPress/gutenberg#77137) - Admin UI: Increase page header vertical padding (WordPress/gutenberg#77152) - Use entity link title for link control preview (WordPress/gutenberg#77155) - TypeScript: migrate annotations package to TS (WordPress/gutenberg#70602) - refactor: migrate bin/api-docs to tools/api-docs as workspace `@wordpress/api-docs-generator` (WordPress/gutenberg#77019) - TypeScript: Migrate viewport package (WordPress/gutenberg#71118) - UI/Tooltip: Add usage guidelines documentation (WordPress/gutenberg#77158) - RadioControl: add support for disabling radio group (WordPress/gutenberg#77127) - Upgrade ESLint to v10 (WordPress/gutenberg#76654) - Add e2e test coverage for the Guidelines settings page (WordPress/gutenberg#77192) - Admin UI: Update Page background color to surface-neutral (WordPress/gutenberg#76869) - Fix lint-staged API docs path (WordPress/gutenberg#77203) - PresetInputControl: Fix clearing of numeric value in custom input control (WordPress/gutenberg#77139) - Upload external media: Ensure notice only fires once (WordPress/gutenberg#77218) - Checkbox: fix disabled styles (WordPress/gutenberg#77132) - FormToggle: Update disabled styles (WordPress/gutenberg#77208) - Calendar: fix disabled styles (WordPress/gutenberg#77138) - Textarea: remove unnecessary styles (WordPress/gutenberg#77221) - Search Block: Ensure color settings apply to input field when button is disabled (WordPress/gutenberg#77219) - iAPI Docs: Fix typos, code errors, and inaccuracies in the documentation (WordPress/gutenberg#76636) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Guidelines: Improve guideline revision UX (WordPress/gutenberg#76560) - ui/`Dialog`: update Header layout, refactor Title to use Text (WordPress/gutenberg#77161) - ui/docs: add additional global css setup instructions (WordPress/gutenberg#77228) - ui/VisuallyHidden: Standardize composition pattern (WordPress/gutenberg#77190) - ui: expose `container` portal prop on all overlay Popup components (WordPress/gutenberg#77163) - Components: Use `--wpds-cursor-control` for interactive controls (Sass only) (WordPress/gutenberg#76786) - Card: Remove redundant margin reset from Card.Title (WordPress/gutenberg#77187) - Theme: Rename typography tokens to use "typography" prefix (WordPress/gutenberg#76912) - UI: Normalize render prop and ref forwarding patterns (WordPress/gutenberg#77160) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - RTC: Improve array attribute stability when structural changes occur (WordPress/gutenberg#77164) - Env: Fix loopback requests when running on non-default ports (WordPress/gutenberg#77057) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Use image.copyMemory() for batch thumbnail generation (WordPress/gutenberg#76979) - Post Author Biography: Preserve occurance of white spaces (WordPress/gutenberg#71133) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Resolve package-lock.json inconsistency for @babel/eslint-parser (WordPress/gutenberg#77256) - Fix duotone filter not applying on style variation switch (WordPress/gutenberg#77229) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - DataViews: simplify `defaultLayouts` prop (WordPress/gutenberg#77232) - getMergedItemsIds: receive full page bigger than perPage (WordPress/gutenberg#77262) - FormTokenField: remove unnecessary styles (WordPress/gutenberg#77263) - TypeScript: Migrate `packages/list-reusable-blocks` package to TypeScript (WordPress/gutenberg#70518) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - Guidelines: Try removing the jsxRuntime pragma and see what happens (WordPress/gutenberg#77255) - DataForm: Show tooltip in edit button in `panel` layout (WordPress/gutenberg#77024) - blocks: Convert blocks package to TypeScript (WordPress/gutenberg#76312) - Fix Gutenberg_REST_View_Config_Controller_7_1 PHP warnings (WordPress/gutenberg#77290) - renamed focus visible (WordPress/gutenberg#77292) - page.waitForFunction: fix call arguments (WordPress/gutenberg#77300) - Tabs: Simplify anchor handling (WordPress/gutenberg#77189) - Tests: Auto-fix some new 'eslint-plugin-playwright' warnings (WordPress/gutenberg#77314) - Tab Menu Item: simplify active tab menu item style (WordPress/gutenberg#77195) - Eslint: Suggest alternative in `no-setting-ds-tokens` rule (WordPress/gutenberg#77154) - Autocomplete: Fix flaky e2e tests (WordPress/gutenberg#77322) - UI: Update `@base-ui/react` from `1.3.0` to `1.4.0` (WordPress/gutenberg#77308) - Docs: Add README for DatePicker and TimePicker Components (WordPress/gutenberg#70365) - UI: use Text component for Badge typography (WordPress/gutenberg#77295) - Block Editor: Extract getElementCSSRules from useBlockProps (WordPress/gutenberg#77327) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Guidelines CPT: Rename references from content guidelines to guidelines (WordPress/gutenberg#77223) - Dialog: add explicit margin-inline-end rule to Title (WordPress/gutenberg#77334) - Remove sandbox `allow-same-origin` for core/html blocks (WordPress/gutenberg#77212) - Block Directory: Use `--wpds-cursor-control` design token (WordPress/gutenberg#77330) - Registers wp_guideline_type taxonomy (WordPress/gutenberg#77156) - DataForm: Add min/max date range support for date and datetime fields (WordPress/gutenberg#77201) - Separator Block: Apply default block variation when inserting via `---` shortcut (WordPress/gutenberg#77135) - Paragraph: Prevent `onEnter` splitting of parent block when insertion of that block type is not allowed (WordPress/gutenberg#77291) - Media Upload Modal: Persist view configuration (WordPress/gutenberg#77288) - Image block: Validate attachment ID exists before treating image as local (WordPress/gutenberg#77178) - Tabs: remove sequential numbering from new tab labels (WordPress/gutenberg#77321) - DataViews: Use `--wpds-cursor-control` design token for interactive controls (WordPress/gutenberg#77259) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Guidelines CPT: Skip registration when post type already exists (WordPress/gutenberg#77486) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Guidelines: Make the CPT type-aware (WordPress/gutenberg#77491) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65557. git-svn-id: https://develop.svn.wordpress.org/trunk@62580 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned commit hash of the Gutenberg repository from `5426109cdaf45828ef28ff8527d7d38e7e75fe74` (version `22.9.0`) to `7295bd91a3c2b64bb11dde0a12313210d9d16a12` (version `23.0.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v22.9.0..v23.0.0. The following commits are included: - Classify admin-ui and dataviews to components (WordPress/gutenberg#76959) - Add performance metrics for client-side media processing (WordPress/gutenberg#76792) - Connectors: Update help text from 'reset' to 'manage' (WordPress/gutenberg#76963) - Connectors: Hide Akismet unless already installed (WordPress/gutenberg#76962) - Remove unused catch block variables across the codebase (WordPress/gutenberg#76969) - Wrap sync update processing in try/catch (WordPress/gutenberg#76968) - Backport: Improve validation and permission checks for `WP_HTTP_Polling_Sync_Server` (WordPress/gutenberg#76987) - BlockMover: Remove unused disabled button props (WordPress/gutenberg#76993) - Core Data: Fix incorrect pagination for non-paginated entities (WordPress/gutenberg#76406) - Block Editor: Display shortcuts for moving blocks via tooltips (WordPress/gutenberg#76992) - Convert directories in test/ to workspaces (WordPress/gutenberg#74684) - RTC: Fix core/table cell merging (WordPress/gutenberg#76913) - Components: Extract the autocomplete matcher into a separate function (WordPress/gutenberg#76957) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Build Tools: Update TypeScript to 6.0.2 (WordPress/gutenberg#77010) - Text: Remove UA margins (WordPress/gutenberg#76970) - Fix pre-existing lint errors across the codebase (WordPress/gutenberg#77002) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) - Card: Set default foreground color on root (WordPress/gutenberg#77013) - TypeScript: Migrate a11y package to TS (WordPress/gutenberg#70680) - Button: Remove unused Storybook story stylesheet (WordPress/gutenberg#77031) - Improve CSS setup instructions in package readmes (WordPress/gutenberg#76975) - Use Link component in details story example (WordPress/gutenberg#76997) - @wordpress/ui: Add global CSS defense module (WordPress/gutenberg#76783) - Autocompleters: Move and improve links search (WordPress/gutenberg#76995) - Autocomplete: Refactor useAutocomplete to use useReducer (WordPress/gutenberg#77020) - Components: Fix autocomplete overlapping trigger matching (WordPress/gutenberg#77018) - Fix: A sentence has no ending punctuation in README.md file. (WordPress/gutenberg#77027) - `ValidatedRangeControl`: Fix aria-label rendered as [object Object] (WordPress/gutenberg#77042) - HStack, VStack: Mark as not recommended for use (WordPress/gutenberg#77041) - Tests: Fix wp-env scripts not found in test workspaces (WordPress/gutenberg#77055) - Bump the github-actions group across 1 directory with 2 updates (WordPress/gutenberg#77030) - Autocomplete: Clarify 'isDebounced' setting limitation (WordPress/gutenberg#77062) - Fix SyntaxError in Autocompleter UI when pasting matching content (WordPress/gutenberg#76961) - Connectors: account for mu-plugins when resolving plugin.file status (WordPress/gutenberg#76994) - Storybook: Fix E2E subpath exports and add CI build smoke test (WordPress/gutenberg#77034) - Fix Storybook cursor Default option passing theme token (WordPress/gutenberg#77037) - Storybook: Enable theming toolbar for wp-components (WordPress/gutenberg#77038) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Editor: Fix 'selectedNote' action PHPDoc (WordPress/gutenberg#77080) - Tests: Fix argument forwarding for workspace test scripts (WordPress/gutenberg#77083) - Search block: Derive 'isSearchFieldHidden' value (WordPress/gutenberg#77082) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Fields: Fix `postContentInfoField` when there are edits (WordPress/gutenberg#76901) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - i18n: Make sprintf return FormattedText for type-safe createInterpolateElement (WordPress/gutenberg#76974) - Block Editor store: refactor controlledInnerBlocks to Set (WordPress/gutenberg#77094) - DataForm: support disabled controls (WordPress/gutenberg#77090) - ESLint plugin: Disable `jsx-a11y/heading-has-content` (WordPress/gutenberg#77073) - Remove remaining esModuleInterop usage (WordPress/gutenberg#77095) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - RTC: Respect WP_ALLOW_COLLABORATION in Gutenberg for activation hook (WordPress/gutenberg#77084) - Add iteration issue template (WordPress/gutenberg#77113) - Media Modal Experiment: Set matching picker grid layout properties for when a user switches between layouts (WordPress/gutenberg#77118) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - updateBlockListSettings: convert state to Map, do all updates in one action (WordPress/gutenberg#46392) - DataViews: Fix `compact` density clipping and remove top/bottom padding (WordPress/gutenberg#77054) - Icons: Override WP_Icons_Registry singleton with Gutenberg icons registry (WordPress/gutenberg#76455) - Button: Remove obsolete Safari + VoiceOver workaround (WordPress/gutenberg#77107) - E2E Tests: Ensure artifacts generate correctly and remove unnecessary artifacts (WordPress/gutenberg#77093) - UI `Text`: Mark as recommended (WordPress/gutenberg#77044) - ui/AlertDialog: better async confirm APIs, fully use base ui's `AlertDialog` (WordPress/gutenberg#76937) - BlockStyleVariationOverridesWithConfig: change name and fix lint errors (WordPress/gutenberg#77130) - Add `.scss` files to CSS module linting (WordPress/gutenberg#77140) - BoxControl: remove unused state for icon side (WordPress/gutenberg#77143) - Fix overflow of Highlighted white-space in Code Block (WordPress/gutenberg#77085) - move pseudo-state slicing logic into useStyle hook (WordPress/gutenberg#77104) - Autocomplete: Remove getAutoCompleterUI factory pattern (WordPress/gutenberg#77048) - Add `date` field in templates and template parts (WordPress/gutenberg#77134) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - Remove 'Home' and 'End' key usage from Navigation Tests (WordPress/gutenberg#77102) - Guidelines: Update actions-section and import/export workflow (WordPress/gutenberg#76621) - Image block: Hide drag handles while an upload is in progress (WordPress/gutenberg#77121) - Build: Fix glob ignore patterns in dot-prefixed directories (WordPress/gutenberg#75114) - Added missing documentation in `collaboration.php` (WordPress/gutenberg#77173) - `@wordpress/ui`: add `Popover` (WordPress/gutenberg#76438) - Add Site Tagline and Site Title to Design > Identity panel (WordPress/gutenberg#76264) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Components: update React function names for better ESLint detection (WordPress/gutenberg#77148) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - MediaEdit: handle '*' wildcard in validateMimeType (WordPress/gutenberg#77168) - Search block : Match behaviour of global styling for border and color with local styling (inspector controls) to remove inconsistency (WordPress/gutenberg#77060) - Re-order spacing side controls when unlinked (WordPress/gutenberg#66317) - Dataviews: remove unneeded ref callbacks (WordPress/gutenberg#77179) - Experiment: Add revisions panel to templates, template parts and patterns (WordPress/gutenberg#77008) - Guidelines CPT: Changes slug from wp_content_guidelines to wp_guidelines (WordPress/gutenberg#77147) - TextArea: add disabled styles (WordPress/gutenberg#77129) - Writing Flow: Fix format toolbar not appearing when selecting text from block edge (WordPress/gutenberg#77136) - DataForm: Remove `text-transform` from `panel` field labels (WordPress/gutenberg#77196) - FormTokenField: fix disabled styles (WordPress/gutenberg#77137) - Admin UI: Increase page header vertical padding (WordPress/gutenberg#77152) - Use entity link title for link control preview (WordPress/gutenberg#77155) - TypeScript: migrate annotations package to TS (WordPress/gutenberg#70602) - refactor: migrate bin/api-docs to tools/api-docs as workspace `@wordpress/api-docs-generator` (WordPress/gutenberg#77019) - TypeScript: Migrate viewport package (WordPress/gutenberg#71118) - UI/Tooltip: Add usage guidelines documentation (WordPress/gutenberg#77158) - RadioControl: add support for disabling radio group (WordPress/gutenberg#77127) - Upgrade ESLint to v10 (WordPress/gutenberg#76654) - Add e2e test coverage for the Guidelines settings page (WordPress/gutenberg#77192) - Admin UI: Update Page background color to surface-neutral (WordPress/gutenberg#76869) - Fix lint-staged API docs path (WordPress/gutenberg#77203) - PresetInputControl: Fix clearing of numeric value in custom input control (WordPress/gutenberg#77139) - Upload external media: Ensure notice only fires once (WordPress/gutenberg#77218) - Checkbox: fix disabled styles (WordPress/gutenberg#77132) - FormToggle: Update disabled styles (WordPress/gutenberg#77208) - Calendar: fix disabled styles (WordPress/gutenberg#77138) - Textarea: remove unnecessary styles (WordPress/gutenberg#77221) - Search Block: Ensure color settings apply to input field when button is disabled (WordPress/gutenberg#77219) - iAPI Docs: Fix typos, code errors, and inaccuracies in the documentation (WordPress/gutenberg#76636) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Guidelines: Improve guideline revision UX (WordPress/gutenberg#76560) - ui/`Dialog`: update Header layout, refactor Title to use Text (WordPress/gutenberg#77161) - ui/docs: add additional global css setup instructions (WordPress/gutenberg#77228) - ui/VisuallyHidden: Standardize composition pattern (WordPress/gutenberg#77190) - ui: expose `container` portal prop on all overlay Popup components (WordPress/gutenberg#77163) - Components: Use `--wpds-cursor-control` for interactive controls (Sass only) (WordPress/gutenberg#76786) - Card: Remove redundant margin reset from Card.Title (WordPress/gutenberg#77187) - Theme: Rename typography tokens to use "typography" prefix (WordPress/gutenberg#76912) - UI: Normalize render prop and ref forwarding patterns (WordPress/gutenberg#77160) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - RTC: Improve array attribute stability when structural changes occur (WordPress/gutenberg#77164) - Env: Fix loopback requests when running on non-default ports (WordPress/gutenberg#77057) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Use image.copyMemory() for batch thumbnail generation (WordPress/gutenberg#76979) - Post Author Biography: Preserve occurance of white spaces (WordPress/gutenberg#71133) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Resolve package-lock.json inconsistency for @babel/eslint-parser (WordPress/gutenberg#77256) - Fix duotone filter not applying on style variation switch (WordPress/gutenberg#77229) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - DataViews: simplify `defaultLayouts` prop (WordPress/gutenberg#77232) - getMergedItemsIds: receive full page bigger than perPage (WordPress/gutenberg#77262) - FormTokenField: remove unnecessary styles (WordPress/gutenberg#77263) - TypeScript: Migrate `packages/list-reusable-blocks` package to TypeScript (WordPress/gutenberg#70518) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - Guidelines: Try removing the jsxRuntime pragma and see what happens (WordPress/gutenberg#77255) - DataForm: Show tooltip in edit button in `panel` layout (WordPress/gutenberg#77024) - blocks: Convert blocks package to TypeScript (WordPress/gutenberg#76312) - Fix Gutenberg_REST_View_Config_Controller_7_1 PHP warnings (WordPress/gutenberg#77290) - renamed focus visible (WordPress/gutenberg#77292) - page.waitForFunction: fix call arguments (WordPress/gutenberg#77300) - Tabs: Simplify anchor handling (WordPress/gutenberg#77189) - Tests: Auto-fix some new 'eslint-plugin-playwright' warnings (WordPress/gutenberg#77314) - Tab Menu Item: simplify active tab menu item style (WordPress/gutenberg#77195) - Eslint: Suggest alternative in `no-setting-ds-tokens` rule (WordPress/gutenberg#77154) - Autocomplete: Fix flaky e2e tests (WordPress/gutenberg#77322) - UI: Update `@base-ui/react` from `1.3.0` to `1.4.0` (WordPress/gutenberg#77308) - Docs: Add README for DatePicker and TimePicker Components (WordPress/gutenberg#70365) - UI: use Text component for Badge typography (WordPress/gutenberg#77295) - Block Editor: Extract getElementCSSRules from useBlockProps (WordPress/gutenberg#77327) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Guidelines CPT: Rename references from content guidelines to guidelines (WordPress/gutenberg#77223) - Dialog: add explicit margin-inline-end rule to Title (WordPress/gutenberg#77334) - Remove sandbox `allow-same-origin` for core/html blocks (WordPress/gutenberg#77212) - Block Directory: Use `--wpds-cursor-control` design token (WordPress/gutenberg#77330) - Registers wp_guideline_type taxonomy (WordPress/gutenberg#77156) - DataForm: Add min/max date range support for date and datetime fields (WordPress/gutenberg#77201) - Separator Block: Apply default block variation when inserting via `---` shortcut (WordPress/gutenberg#77135) - Paragraph: Prevent `onEnter` splitting of parent block when insertion of that block type is not allowed (WordPress/gutenberg#77291) - Media Upload Modal: Persist view configuration (WordPress/gutenberg#77288) - Image block: Validate attachment ID exists before treating image as local (WordPress/gutenberg#77178) - Tabs: remove sequential numbering from new tab labels (WordPress/gutenberg#77321) - DataViews: Use `--wpds-cursor-control` design token for interactive controls (WordPress/gutenberg#77259) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Guidelines CPT: Skip registration when post type already exists (WordPress/gutenberg#77486) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Guidelines: Make the CPT type-aware (WordPress/gutenberg#77491) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65557. git-svn-id: https://develop.svn.wordpress.org/trunk@62580 602fd350-edb4-49c9-b593-d223f7449a82
What?
Fixes #76977.
Currently, the inline block inserter disappears during RTC sessions when another user is actively editing:
block-inserter-disappears.mov
Why?
The root cause is
useLastDifferentValuein the autocomplete component. This hook tracks whether the user has changed something by keeping a history of the last 2 rich-text record objects in aSet. SinceSetuses object reference equality, whenRESET_BLOCKSfires during RTC sync and rebuilds the block tree from scratch, the resulting new record objects (same text, different references) append to the history rather than it staying the same. The "previous" record ends up having the same.textas the current one, sodidUserInputevaluates tofalseand the popover is removed.How?
This is a
RESET_BLOCKS-related bug like #76025, a class of bugs we've seen where the editor will reset local editor state on sync in a way that doesn't make sense in a collaborative model.This PR changes
useLastDifferentValueto compare by.textvalue instead of object reference. The new implementation uses two refs: one for the previous record and one for the last record that had a different.text. When a re-render produces a new record object with the same text content (as happens duringRESET_BLOCKSin an RTC sync), the function correctly recognizes that no actual text change occurred and preserves the earlier record that had different text. This keepsdidUserInputastrueand the popover stays visible.Testing Instructions
Automated
Manual
Enable RTC via Settings -> Writing -> "Enable real-time collaboration" checkbox.
Open a post collaboratively in two tabs.
In one session, begin continuously typing in a paragraph block. Here's a JS one-liner that can do that:
In the other session, click into a separate paragraph block and type
/.Verify the inline block inserter popover stays open while the other user is typing:
block-inserter-fix.mov
Select an option from the inserter and verify it inserts correctly:
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Used for: Root cause analysis and implementation