Skip to content

Block Supports: Relocate text and bg color controls to Typography and Background panels - #77279

Merged
aaronrobertshaw merged 11 commits into
trunkfrom
update/text-and-background-color-control-locations
Jun 24, 2026
Merged

aaronrobertshaw merged 11 commits into
trunkfrom
update/text-and-background-color-control-locations

Conversation

@aaronrobertshaw

@aaronrobertshaw aaronrobertshaw commented Apr 14, 2026 •

Copy link
Copy Markdown
Contributor

What?

See: Block Supports: Add background clip support and combined UI for text gradient selection #76171

Moves the root-level text and background color controls in the block inspector and Global Styles sidebars out of the catch-all Color panel and into the panels they more naturally belong with:

  • The Text color control (color.text) moves into the Typography panel.
  • The Background color and Gradient controls (color.background and the color-support color.gradient) move into the Background panel, alongside the existing background image and background.gradient controls.
  • The remaining element-level controls (Links, Headings, Buttons, Captions) stay grouped together under a new Elements panel in the block inspector. Global Styles continues to surface them via its Colors screen.

Why?

Right now nearly all the color controls live under a single Color panel, whether you're thinking about typography, background styling, or an element-specific treatment. The one exception is background.gradient, which already
sits in the Background panel so it can be composed with a background image — so even today the picture isn't entirely consistent.

Grouping controls by the style aspect they affect should make the sidebars easier to reason about, and put related controls where you're already working: a text color is set from the Typography panel rather than hunted out of a
catch-all, and the gradient controls sit back alongside the rest of the background styling.

This is deliberately an interim step. The element-level controls stay grouped as-is because moving them properly is a much bigger IA question — ideally each element would be a drill-down into its full set of styles (typography,
color, spacing, …) as one cohesive unit. That's out of scope here.

How?

Relocation

  • Added a text color control to the Typography panel (Global Styles and block inspector), writing to the same unchanged color.text path.
  • Added the background color control, and moved the color-support gradient control, into the Background panel.
  • Moved the element-level controls into a new elements inspector group rendered by an ElementsEdit hook, labelled "Elements".
  • Reordered the panels so Typography leads and Elements sits after Border, above the generic styles group (Typography → Color → Background → … → Border → Elements → Styles).
Screenshot 2026-06-16 at 8 21 00 pm

Section blocks

Section blocks (content-only-locked groups, synced patterns, etc.) don't receive these panels through the inspector slots: BlockStyleControls returns null when a block's editing mode isn't default, so a section's
block-support fills are gated off — which is why their curated controls have always been direct-rendered rather than slotted. To keep their curation intact, section blocks get a direct-rendered subset of the relocated panels:

  • Typography — text color only (font controls disabled via restricted settings).
  • Background — color and gradient only (image/size controls disabled).
  • Elements — link/heading/button/caption colors.

These reuse the same hook round-trips as normal blocks (no duplicated logic), via a new optional asWrapper on the Typography and Background panel hooks. Template parts are excluded and fall through to the full normal panel
set, matching their existing behaviour.

Shared UI

  • Pulled the common color dropdown logic out into a ColorGradientDropdownItem component and a shared useColorGradientSettings hook (plus a color-values util), reused across the Color, Background, and Typography panels
    rather than duplicated three ways.
  • Added a shared block-editor-color-gradient-item class so the border/layout styles for color dropdown items are defined once. The existing panel-specific classes stay on the DOM for backward compatibility.
  • Removed an obsolete .block-editor-tools-panel-color-gradient-settings__item.first { margin-top: 0 } rule that predated the current first-visible-item handling.

Contrast warning

  • With the colors split across panels, the contrast check moves to whichever panel owns the failing color. It shows as an always-visible "Low contrast" indicator on the control, plus a notice inside the color popover, with a
    single screen-reader announcement. The shared logic was extracted into a getContrastWarning() helper and a useBlockColorContrastWarning hook.
  • The public ContrastChecker component gains a messageOverride prop so panels can supply more concise copy.
  • The in-popover notice is rendered entirely within the block editor — ColorGradientControl renders the Notice at the top of the color popover — so no changes are made to the @wordpress/components package and no
    component API (public or private) is added.
Screenshot 2026-06-15 at 12 49 21 pm Screenshot 2026-06-15 at 12 49 27 pm Screenshot 2026-06-19 at 2 07 33 pm Screenshot 2026-06-19 at 2 07 40 pm

Gradient control

  • The control that moves is the existing color-support Gradient (style.color.gradient), the one that used to sit in the Color panel. The separate background.gradient support already lived in the Background panel and
    isn't relocated here.
  • Storage is unchanged and follows the block's support. Blocks with the newer background.gradient support read and write style.background.gradient, falling back to color.gradient for values that haven't migrated yet and
    clearing color.gradient on write. Blocks with only color-support gradient keep using style.color.gradient.
  • Because the storage paths are untouched, the existing background-gradient migration spec keeps passing.

Tests & incidental

  • Updated the affected unit and e2e tests for the new "Color" label inside the Typography panel, and scoped selectors to the right panel now that more than one "Color" button can exist in the sidebar.
  • Added coverage for the relocated panels, block style-state colors, the curated section-block style panels, and the background panel's "Reset all" filter (a unit test confirming it clears the legacy color.gradient).
  • tools/eslint/suppressions.json dropped a stale entry; regenerating the file pruned it.

Important to note

  • No @wordpress/components changes. The contrast notice is rendered by the block editor inside the color control popover; the ColorPalette component is untouched and no component API (public or private) is added.
  • Panel gating changed. The Color/Elements panel gate now returns false for blocks whose only color support is text and/or background. Those blocks no longer get a Color/Elements panel; their controls open in the
    Typography and Background panels instead.
  • Section blocks get a curated subset. This is intentional and interim — a section block diverges from a normal block's inspector on purpose (a simpler, curated surface). It could be collapsed back into a single combined
    Color panel for section blocks later if that's preferred.
  • Two indicators for one failing pair is expected. When both a text and a background color are set with poor contrast, the indicator appears in both the Typography and Background panels — each owns one of the
    contributing colors, and each is a place the issue can be fixed.

Testing Instructions

  1. Open the Site Editor → Styles.
  2. Open the Typography panel and confirm a Color control is present; set a text color and confirm it applies on the canvas.
  3. Open the Background panel and confirm Color and Gradient controls are present alongside the background image; set values and confirm they apply.
  4. Open the Colors screen (Global Styles) / Elements panel (block inspector) and confirm only the element-level controls remain. The root text/background controls are gone.
  5. Select a block that supports color (Group, Paragraph, Heading) in the post editor and confirm the same relocation in the block inspector.
  6. Section blocks: add a content-only-locked Group (or a synced pattern) and select it. Confirm it shows a curated Typography (Color only — no font controls), Background (Color/Gradient — no image), and Elements
    panel. Confirm a template part still shows the full panel set.
  7. Set a poor-contrast text or link color and confirm the "Low contrast" indicator appears on the control and the warning notice shows inside the color popover.
  8. Save and reload, and confirm the persisted values apply on the front end.

Demo

Screen.Recording.2026-06-16.at.8.16.54.pm.mp4

@aaronrobertshaw aaronrobertshaw self-assigned this Apr 14, 2026
@aaronrobertshaw aaronrobertshaw added [Type] Enhancement A suggestion for improvement. [Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi labels Apr 14, 2026
@github-actions github-actions Bot added the [Package] Block editor /packages/block-editor label Apr 14, 2026
@aaronrobertshaw

Copy link
Copy Markdown
Contributor Author

@jameskoster I took a quick run at what an interim step might look like in terms of relocating the text color control under the Typography panel, and the background color control under the Background panel.

Note that the "element" colors like for Link, Heading, Buttons etc. are all still under optional controls on the Color panel at the moment until we work out a drill down approach or similar.

An additional step in this exploration could be to add a new Elements panel that behaves as the Color panel does now for the Group block. That is, all the elements are optional controls that can be toggled on and each has a popover containing text, background etc tabs. Not ideal but a reasonable step until we have the ability to drill down and style more than just colors.

We'd keep the current Colors panel so that if blocks add ad hoc color controls into that panel they still show as expected. If there's nothing in the Colors panel it wouldn't render at all.

Let me know if you think there might be something here we can pursue in the short term.

@github-actions

github-actions Bot commented Apr 14, 2026 •

Copy link
Copy Markdown

Size Change: +1.12 kB (+0.01%)

Total Size: 7.51 MB

📦 View Changed
Filename Size Change
build/scripts/block-editor/index.min.js 382 kB +1.46 kB (+0.38%)
build/scripts/editor/index.min.js 475 kB +24 B (+0.01%)
build/styles/block-editor/style-rtl.css 18.6 kB -157 B (-0.84%)
build/styles/block-editor/style-rtl.min.css 16 kB -27 B (-0.17%)
build/styles/block-editor/style.css 18.7 kB -155 B (-0.82%)
build/styles/block-editor/style.min.css 16 kB -29 B (-0.18%)

compressed-size-action

@ramonjd

ramonjd commented Apr 14, 2026

Copy link
Copy Markdown
Member

Thanks for getting this PR up for consideration, and allowing folks to play around with it. It's working for me as described.

Global Block
Screenshot 2026-04-14 at 3 09 19 pm Screenshot 2026-04-14 at 3 10 26 pm

I can't shake the feeling our labels are working against us, and it's for this reason we're having to make some awkward shuffling around of properties.

Typography, at least for me, is about how text is shaped and arranged, so we have font family, size, weight, spacing, line height, text transform etc, while color has always been a surface treatment.

BUT the user's mental model isn't CSS properties so my thinking here is inappropriate. I don't know how many folks outside this repo say "Oh, I need to set my color and font size" but instead "this text needs to be bigger and bolder and should stand out more" 😄 Is being prescriptive based on CSS taxonomy instead of user tasks working against us here?

So in the context of this PR, I see some reason in dropping technical terms and mirroring CSS. "Text" or "Text Style" makes more sense to me when I test out the controls here.

Anyway, these are just my initial thoughts. I don't know if there's a perfect solution here at all (is there ever?), but I appreciate the compromises and ideas folks have arrived at to help us decide.

@jameskoster

Copy link
Copy Markdown
Contributor

An additional step in this exploration could be to add a new Elements panel that behaves as the Color panel does now for the Group block. That is, all the elements are optional controls that can be toggled on and each has a popover containing text, background etc tabs. Not ideal but a reasonable step until we have the ability to drill down and style more than just colors.

This would effectively mean the existing Color panel is hidden most of the time, right? If so I think that might be good to include in this PR. Relatedly I'd consider giving the new Elements panel less prominence in the UI, maybe by positioning it at the bottom of the inspector.

@aaronrobertshaw

Copy link
Copy Markdown
Contributor Author

Thanks for the direction @jameskoster 👍

I was already working towards both including the elements panel as well as pushing it further down the sidebar.

As soon as I have something more functional. I'll demo again.

@aaronrobertshaw

Copy link
Copy Markdown
Contributor Author

This is early days and still buggy but here's a quick glimpse of the elements panel approach discussed. The first pass at this was pushed in 9853127

Screen.Recording.2026-04-16.at.5.54.32.pm.mp4

@jameskoster

jameskoster commented Apr 17, 2026 •

Copy link
Copy Markdown
Contributor

Neat, that looks pretty good to me. Time to rope in @WordPress/gutenberg-design for some wider feedback.

The only quirk I noticed is the placement of the contrast warning. If that appears due to changing the Text color the placement is a bit unexpected. I wonder if we should move that warning to the color popover. That way it'll appear contextually whether you're currently modifying the background or the text color. Additionally it won't clutter the Inspector in situations where users legitimately want low contrast styling.

@aaronrobertshaw

aaronrobertshaw commented Apr 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks for taking another look at this one 🙇

I wonder if we should move that warning to the color popover

Good idea. I like it 👍

I'll find some time and make it happen on this PR.

@aaronrobertshaw

Copy link
Copy Markdown
Contributor Author

Here's a demo of a quick hack at getting the contrast checker warning within the color popovers. I think we might need to put a little thought into how we could present this better to avoid scrollbar within the popover, the popover extending beyond the bottom of the page, or even just the significant layout jump that it causes.

Happy to try out any ideas you might have:

Screen.Recording.2026-04-18.at.8.00.06.pm.mp4

@aaronrobertshaw

Copy link
Copy Markdown
Contributor Author

Here's a quick mockup of potentially adding a warning icon and tooltip/popover to the color popover when the contrast is too low. We could also display it in color control in the panel as well if we can find a way that it doesn't look too bad beside existing color swatches and the reset button within the control.

For now though maybe this will spark further ideas:

Screen.Recording.2026-04-19.at.11.46.28.am.mp4

@jameskoster

Copy link
Copy Markdown
Contributor

Yeah that works a bit better. I wonder if we could use a Badge with a 'Low contrast' or similar label. I suppose with the smaller footprint we could display the badge in the panel, something like:

Screenshot 2026-04-20 at 13 34 09

@jasmussen

Copy link
Copy Markdown
Contributor

Nice! Taking this one for a spin, I think it works well.

On the badges for low contrast, it's not a poor idea, but given we have color Items that have very long titles, like "Submenu & overlay background" (which already gets elided), I don't think there's room for a badge there. Could we do an unread dot instead? And regardless, because that may be a rabbit hole and a new feature, might be worth keeping separate from this one?

That is, can we just keep the yellow notice that exists in trunk already?

I see this is already present, I'm thinking the same but with a blue dot instead of a yellow icon:
image

Also, now that we've changed the Color panel, should we move Typography above it?

image

@aaronrobertshaw

Copy link
Copy Markdown
Contributor Author

Appreciate all the great feedback here 🙇

I'll try and resolve all the new conflicts over the next few days then explore the options in front of us.

That is, can we just keep the yellow notice that exists in trunk already?

I'm not sure how I feel on this one given the two related colors being compared are split across panels. I'll see how it plays if the contrast warning is displayed in both panels, if that's even possible etc. then update again.

@aaronrobertshaw
aaronrobertshaw force-pushed the update/text-and-background-color-control-locations branch from 2c7bfcc to 8be2003 Compare June 5, 2026 07:41
@aaronrobertshaw

Copy link
Copy Markdown
Contributor Author

I've finished resolving all the conflicts with the recent state based and responsive styling changes. I believe this is back to a functional state.

The suggested tweaks have been made and are present in current state of this PR. These include:

  • Using blue dot instead of yellow warning dot/icon.
  • Displaying the contrast warning in both the Typography and Background panels
  • Relocating the Typography panel above the Color and Background panels

It turns out if a block contains a link element and the link element has styles for the block that also has its contrast checked.

Having multiple contrast warnings really creates some dramatic layout shift and/or scroll in the block inspector. It'll be even worse if we add another warning to the elements panel when it is considered low contrast and applicable. (Side note, the element color popovers don't have the low contrast dot and tooltip rendered yet but that can be a follow-up if we keep with that approach)

Another issue with the current contrast warning being rendered multiple times is that the warning by default is announced by speak() for accessibility purposes.

If we were to display a single warning only, at the block level, within the inspector, would that detach the warning too much from the relevant controls? Could the combination of styles and the resulting lack of contrast be a block level concept?

The last issue I noticed, which is also present on trunk is that with state-based styles e.g. hover state, the link element there still has a :hover state in the link element's color popover. I'm not sure if we want that but for now, I guess the block has it's hover styles and the link element within the block can have separate hover styles still.

Here's a quick demo of the latest exploring low contrast selections and warning display:

Screen.Recording.2026-06-08.at.1.52.24.pm.mp4

/cc @jasmussen and @jameskoster any thoughts on the latest changes? It still feels like we need to polish the contrast warning behaviour and UX.

@ramonjd ramonjd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the UI, this is working how I'd expect. I don't see any gotchas (aside from the double custom color comment) from a UX perspective. It's satisfying to be able to play with transparent images and gradients and try different things.

Image

My other comments are non-blocking and mostly questions.

);

// Announce to screen readers whenever the warning becomes active.
speak( message );

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would fire on every render that happens while isPoor is true, right? Is there anything else that could trigger a render besides the contrast check?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, not sure off the top of my head but the fact that we're rendering 2 contrast warnings (3 if we add one for elements), means we're going to be announcing redundant warnings. Navigating our editor is hard enough I'd say for those relying on screenreaders etc. without introducing this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I was forgetting that I added the speak call here to meet other accessibility warnings I was getting. There might be a different balance or solution here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After adding the warning back to the panels. This speak call could be omitted entirely. If it turns out we go back to just the warning in the color popover, I'll gate this in an effect so it only fires on the change from false to true or when color values change.

Comment on lines +227 to +235
const setTextColor = ( newColor ) => {
onChange(
setImmutably(
value,
[ 'color', 'text' ],
encodeColorValue( newColor )
)
);
};

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is right but I see a regression and I think it might be related to the way trunk passed newSlug.

If I have two custom colors with the same hex value, e.g.,

    "color": {
      "palette": [
        { "slug": "brand-a", "name": "Brand A", "color": "#e10000" },
        { "slug": "brand-b", "name": "Brand B", "color": "#e10000" }
      ]
    }

They're selected, and only brand-a is assignable.

Image

here's how trunk is working

Kapture.2026-06-09.at.14.24.31.mp4

I think it's important coz if the custom color brand-b is ever updated in the theme, it wouldn't have any effect on stored posts with that var.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick testing and flagging this.

I'm sure I've messed up the rebase. I'll get a test in place to cover the regression and implement a fix.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW I've seen two colors showing as "active" before, when the values are the same. Not ideal, but probably also not the fault of this PR.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've seen two colors showing as "active" before, when the values are the same. Not ideal, but probably also not the fault of this PR.

I just retested and still see the two colors selected, but the slug does persist after 71ab383 I think. Nice work!

So here I tested by selected the second B and saved, then updated the value in theme.json to check that the change came through.

Screenshot 2026-06-12 at 1 12 02 pm

observer.observe( blockEl, {
attributes: true,
attributeFilter: [ 'class', 'style' ],
subtree: true,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is unavoidable. In big containers with lots of deeply-nested blocks I'm wondering what the performance trade off would be of calling a lot of getComputedStyle().

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mirroring the existing contrast checker that displays the warning in the different panels. So if it has been accepted there I think that is the baseline.

Now, given this means it might be done multiple times with the warning to be displayed in the color popover, it might need optimising if possible or a different approach to ensure performance is maintained or improved.

I'll look into it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No biggie if it was there before. Thanks!

@jasmussen

Copy link
Copy Markdown
Contributor

Nice work, this is trucking along well.

Thanks for changing the dot to blue. I will say it's not entirely clear that it's useful after all. It's fine to keep, but it seems like that dot is serving the same purpose that is covered by the contrast notice itself. It may be best to simply remove it after all.

Speaking of, the double warnings is the problem to solve to ship this:

image

Not a solution near term, but I want to connect this to #76996 and #78880 as having potential to be more generic homes for lint, which I consider contrast issues to be.

But near term, can we show the contrast warning only inside the panel that has colors set? E.g. the above image is confusing because it is flagging incompatible colors in a panel that does not have colors set. However the following is probably fine, true, and honest:

image

Not necessarily for this PR, but we could also potentially improve those contrast warnings with clarity, brevity, and specificity. E.g. instead of:

This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.

For the typography panel we could do:

This color has poor contrast against the background. Consider increasing contrast.

For the background panel we could do:

This color combination has poor contrast. Consider increasing contrast between background and foreground.


Relatedly, and possibly not the fault of this PR, but I managed to get myself into this state by clicking first one color, then the other:

image

The duplicate controls called "Color" will take a little getting used to, insofar as one is typography color and the other is background color, with the panel context revealing which is which. I think this is worth shipping as is, feeling out. If that fails, we can always call change the BG color term to "Fill", or "Solid":

image

@jameskoster

Copy link
Copy Markdown
Contributor

Didn't we add the dot so that we could remove the notice in the Inspector?

I think the yellow dot/icon worked a bit better as it conveys meaning. From that perspective I still think it could be displayed as an Info tip in the ItemGroup:

Screenshot 2026-06-09 at 16 23 16

@jasmussen

Copy link
Copy Markdown
Contributor

I would agree that it's either the notice, or the dot.

Do we have to decide between them in this PR? I'm softly leaning towards the notice, in part out of inertia/cheese-moving, but also because until we have something like #76996, flagging very visibly contrast issues is something that is unique to the block editor compared to other players in the space.

@jameskoster

Copy link
Copy Markdown
Contributor

Yes I think it would be fine to tackle separately, especially without a design we're 100% happy with. Ideally it's something we can prioritise though because obviously the double-notice is taking up a lot of valuable space in the Inspector, arguably a regression. Not essential, but an interim solution could be to make the notice(s) dismissible.

@jasmussen

Copy link
Copy Markdown
Contributor

The double notice can hopefully be substantially mitigated by worth-doing-anyway changes to when they fire as suggested here, i.e. only show the notice if a color from the panel has actually been set, and rephrase the notice dependant on which panel it shows up on. WDYT?

@jameskoster

Copy link
Copy Markdown
Contributor

It can work, but will still produce double-notices in some cases, no?

@jasmussen

Copy link
Copy Markdown
Contributor

If there's a color set in both typography and background panels, both of which are poor, there could be two notices, yes. But each would have a bespoke contextual message, and each would still need separate fixing, yes? I.e. if you fix it in one place and that improves the contrast enough for both checks to pass, the notice would disappear in both places, but you'd get to choose where to fix it.

I agree, not necessarily perfect, but it's honest, it's truthful, right?

@jasmussen

Copy link
Copy Markdown
Contributor

Not a strong opinion. If you feel strongly about the dot-based indicator, we can pursue that also. It's a tight space, but there should just be room:

image

@aaronrobertshaw

aaronrobertshaw commented Jun 10, 2026 •

Copy link
Copy Markdown
Contributor Author

Appreciate all the continued discussion here 🙇

The commits I pushed yesterday implemented all the feedback from #77279 (comment) but it all needed a little further testing before I was going to record a demo.

It'll be even worse if we add another warning to the elements panel when it is considered low contrast and applicable

I flagged earlier the fact that contrast warnings can be triggered by elements too.

That means there might be three locations where a color selection could cause low contrast:

  • Typography + text color
  • Background + background color
  • Elements + link color etc (when this is a link in the block's content)
Screen.Recording.2026-06-09.at.5.15.57.pm.mp4

This PR now has some conflicts with trunk, so I'll sort those out again, then iterate further.

I'll link to two separate commits that will demo both the latest notice in panel behaviour and the alternative dot only approach. Hopefully, that will help guide what feels best before we have the linting error solution mentioned earlier.

@aaronrobertshaw
aaronrobertshaw force-pushed the update/text-and-background-color-control-locations branch from 39661d4 to 75ed850 Compare June 11, 2026 01:39
pento pushed a commit to WordPress/wordpress-develop that referenced this pull request Jul 14, 2026
This updates the pinned commit hash of the Gutenberg repository from `98a796c8780c480ef7bcfe03c42302d9564d785c` (version `23.4.0`) to `b5574edc8a952b2f1e528693761a97b1b3b580eb` (version `23.5.0`).

A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.4.0..v23.5.0.

The following commits are included:

- Site Editor: Fix admin color scheme bleeding through the mobile content scrollbar gutter (WordPress/gutenberg#79056)
- Build: Add GUTENBERG_CHECK_INSTALLED_DEPS env var to opt out of installed-deps check (WordPress/gutenberg#79068)
- Media Editor: Keep the modal skeleton pinned in the editor flow (WordPress/gutenberg#79070)
- Editor: Hide cmd palette shortcut in document bar when admin bar is shown (WordPress/gutenberg#79060)
- Math format: seed LaTeX input from the current selection (WordPress/gutenberg#79052)
- Omnibar: Rename experiment to match iteration issue (WordPress/gutenberg#79074)
- Theme: Add Figma scopes to element size tokens (WordPress/gutenberg#79032)
- Admin bar in editor experiment: show site icon instead of dashicon if set (WordPress/gutenberg#79049)
- Math format: Simplify the onClick handler and use canonical selected-text capture (WordPress/gutenberg#79081)
- Style Engine: Export public TypeScript types (WordPress/gutenberg#79079)
- Image: Fix pasted images stretching when dimensions are preserved (WordPress/gutenberg#79067)
- Update `@ariakit/react` to 0.4.29 (WordPress/gutenberg#79055)
- Navigation: Use block context to determine whether Page List is nested in Submenu (WordPress/gutenberg#79048)
- Fix code editor cursor jump on remote RTC updates (WordPress/gutenberg#79005)
- Fix: Custom HTML block preview keeps expanding when iframe uses height:100vh (WordPress/gutenberg#78677)
- Image block: don't show crop icon while image is uploading (WordPress/gutenberg#79103)
- Media Editor Modal: Add a loading and simple error state (WordPress/gutenberg#79101)
- Add React 19 as an experimental flag (WordPress/gutenberg#79077)
- Try: Remove Tab (Tab list item) block  (WordPress/gutenberg#77439)
- Navigation block: Fix responsive style states for typography settings (WordPress/gutenberg#79072)
- Popover: add open/close motion and fix close re-anchor (WordPress/gutenberg#78885)
- Remove unused build:profile-types and component-usage-stats scripts (WordPress/gutenberg#79113)
- RTC: Allow disabling collaboration by post type (WordPress/gutenberg#78984)
- Omnipresent Toolbar: increase top padding in sidebar nav title (WordPress/gutenberg#79083)
- Add support for aspect ratio and related controls in viewport states (WordPress/gutenberg#78795)
- Fix responsive element styles front end output (WordPress/gutenberg#79135)
- BaseControl: add text-wrap: pretty (WordPress/gutenberg#79112)
- wp-build: Return null from getPackageInfo on resolve miss instead of throwing (WordPress/gutenberg#78715)
- Global styles revisions: replace active text with badge (WordPress/gutenberg#79137)
- Editor: Disable saving while a non-post entity is being saved (WordPress/gutenberg#79069)
- Add xl border radius token for page shell surfaces. (WordPress/gutenberg#78913)
- Add corner radius presets to ThemeProvider (WordPress/gutenberg#78816)
- theme: rename `bg`/`fg` design token groups to `background`/`foreground` (WordPress/gutenberg#79098)
- Theme: Enforce sRGB seed-color input contract for ThemeProvider (WordPress/gutenberg#79148)
- Theme: Rename `--wpds-color-stroke-focus-brand` token to `--wpds-color-stroke-focus` (WordPress/gutenberg#79125)
- refactor: Move 'glob' dependency to appropriate workspaces (WordPress/gutenberg#79145)
- Add lock-unlock route as a workspace and update dependencies (WordPress/gutenberg#79138)
- Dependabot: Add npm entry so security update PRs can be rebased (WordPress/gutenberg#79076)
- refactor: rename '@wordpress/lock-unlock' to '@wordpress/routes-lock-unlock' across the codebase (WordPress/gutenberg#79163)
- Panel: Recommend CollapsibleCard for use outside the block inspector (WordPress/gutenberg#78863)
- Editor: Migrate FlatTermSelector to UI Stack component (WordPress/gutenberg#78659)
- design-system-mcp: Remove Storybook dependency in TypeScript types (WordPress/gutenberg#79132)
- Bump rollup from 4.55.1 to 4.59.0 (WordPress/gutenberg#75964)
- Media modal: small tweak to gutters (WordPress/gutenberg#79168)
- Icon Block: Add flip and rotate transformation controls (WordPress/gutenberg#77017)
- Media Editor: Magnify the crop to fill the canvas (WordPress/gutenberg#79044)
- Update capitalisation and spelling within the welcome tour (WordPress/gutenberg#53028)
- Feature: Need to add “Show More” / “Show Less” toggle in Note. (WordPress/gutenberg#77446)
- Correct behaviour of flex child fixed width and introduce max width option (WordPress/gutenberg#79073)
- Eslint: move deps from root into tools/eslint and packages/eslint-plugin (WordPress/gutenberg#79110)
- Gallery: Hide Navigation button type when lightbox editing is disabled (WordPress/gutenberg#79147)
- Add more React internals polyfills (WordPress/gutenberg#79142)
- [DataViewsPicker]: `DataViewsPicker.BulkActionToolbar` now renders only the bulk-selection info and action buttons (WordPress/gutenberg#79180)
- Block Editor: Fix potential crash from 'useBlockToolbarPopoverProps' (WordPress/gutenberg#79178)
- Tabs: Simplify layout and prune redundant block supports (WordPress/gutenberg#77646)
- e2e: Retry transient theme activation failures in pages spec (WordPress/gutenberg#79171)
- Revisions screen with picker-activity layout (WordPress/gutenberg#77333)
- chore: remove glob from root pkg json (WordPress/gutenberg#79183)
- Core Data: Don't use 'useQuerySelect' in 'useEntityRecord(s)' hooks (WordPress/gutenberg#76198)
- Revisions: Ignore empty `[]/{}` meta values in the Meta diff panel (WordPress/gutenberg#79185)
- UI Field.Description: add `text-wrap: pretty` (WordPress/gutenberg#79143)
- Blocks: Migrate Markdown converter from showdown to marked (WordPress/gutenberg#77953)
- Bump shivammathur/setup-php (WordPress/gutenberg#79193)
- Icons block: insert an icon by default (WordPress/gutenberg#79111)
- Theme: Add tests for ThemeProvider and useThemeProviderStyles (WordPress/gutenberg#79126)
- Icon block: Move flip controls to toolbar group. (WordPress/gutenberg#79192)
- Packages: Fix the published dependency surface of npm packages (WordPress/gutenberg#79095)
- Block Library: Remove unused Babel optimization plugin (WordPress/gutenberg#79162)
- Automated Testing: Use static value for IS_GUTENBERG_PLUGIN env setup (WordPress/gutenberg#79201)
- Scripts: Avoid tests getting published to npm (WordPress/gutenberg#79204)
- Theme: Add disabled variants for brand and error interactive color tokens (WordPress/gutenberg#79124)
- Fix: State styles – clear `background-image` when hover sets a solid `background-color` (WordPress/gutenberg#78992)
- Media editor: Snap crop handles to source pixels (WordPress/gutenberg#79139)
- Image block: remove duplicate data-wp-bind--srcset in the lightbox overlay (WordPress/gutenberg#79202)
- Template Part: Remove restriction on tabs / inspector fills (WordPress/gutenberg#79181)
- Editor: Guard PostViewLink against post types without a labels object (WordPress/gutenberg#79160)
- Media editor modal: Fix keyboard resizing for locked aspect-ratio crops (WordPress/gutenberg#79207)
- wp-build: Resolve @wordpress/build from __dirname in resolve-miss test (WordPress/gutenberg#79208)
- Theme: forward ThemeProvider cornerRadius preset to :root for root providers (WordPress/gutenberg#79153)
- Refactor Prettier configuration and update dependencies (WordPress/gutenberg#79219)
- chore: Add missing root devDependencies for WordPress packages (WordPress/gutenberg#79221)
- Refactor: Update  npm-package-json-lint configuration (WordPress/gutenberg#79223)
- Components: Complete WPDS token migration for remaining borders (WordPress/gutenberg#79003)
- Plugin: Bump minimum required WordPress version to 6.9 (WordPress/gutenberg#79196)
- Autocomplete: Add Group and GroupLabel primitives (WordPress/gutenberg#78901)
- Pullquote: Migrate to text-align block support (WordPress/gutenberg#79225)
- Style Book: Fix crash when previewing variations for blocks without examples (WordPress/gutenberg#79131)
- Theme: Add stroke-surface tokens for the caution tone (WordPress/gutenberg#79198)
- Icon block: Default to core/info via block.json instead of an insert-time effect (WordPress/gutenberg#79212)
- Backport changelog and package version updates from wp/latest (WordPress/gutenberg#79234)
- V2 Site Editor: Fix template edit routes (WordPress/gutenberg#79230)
- Grid: Prepare `@wordpress/grid` for npm publishing as experimental 0.1.0 (WordPress/gutenberg#79071)
- File Block: Replace on-mount downloadButtonText effect with a default variation (WordPress/gutenberg#79236)
- Components, DataViews: Adopt --wpds-dimension-size-* tokens (WordPress/gutenberg#79093)
- Refactor: move stylelint config and deps to tools/stylelint workspace (WordPress/gutenberg#79226)
- Revert "Components: Complete WPDS token migration for remaining borders (WordPress/gutenberg#79003)" (WordPress/gutenberg#79243)
- Edit Post: Refactor and cleanup InitPatternModal component (WordPress/gutenberg#79190)
- Widget Primitives: extract into `@wordpress/widget-primitives` (WordPress/gutenberg#79134)
- chore: remove @wordpress/vips dependency from root (WordPress/gutenberg#79249)
- design-system-mcp: Improve README overview and setup instructions (WordPress/gutenberg#79238)
- Components: Re-land WPDS border token migration with Emotion-safe comments (WordPress/gutenberg#79244)
- Theme: Provide design-system token defaults without a runtime `<ThemeProvider>` (WordPress/gutenberg#78664)
- List View block support: Hide list tab when allowedBlocks is empty, with no children (WordPress/gutenberg#78932)
- Handle WP.org SVN missing tag warnings (WordPress/gutenberg#79257)
- CI: Run PHP unit tests on PHP 8.4 and 8.5 (WordPress/gutenberg#79260)
- mark @types/react as an optional peer dependency (WordPress/gutenberg#79272)
- Block bindings : add support to list-item (WordPress/gutenberg#78947)
- document widget-modules endpoint experiment gate (WordPress/gutenberg#79264)
- Storybook: Upgrade Storybook to 10.4 (WordPress/gutenberg#77382)
- Core Data: Cleanup edits matching persisted record on undo/redo (WordPress/gutenberg#77100)
- Notes: Simplify 'Show more/less' collapse logic (WordPress/gutenberg#79261)
- File Block: Combine audio/video/image to file transforms (WordPress/gutenberg#79242)
- Button: Use font weight token (WordPress/gutenberg#79278)
- Avoid dirtying related navigation entities during passive render (WordPress/gutenberg#79000)
- Theme: Skip serializing `data-wpds-root-provider="false"` on non-root providers (WordPress/gutenberg#79253)
- Patterns: Migrate modals to @wordpress/ui components and fix rename input width (WordPress/gutenberg#79233)
- ESLint, UI, Components: Mark `Tooltip` from `@wordpress/ui` as recommended (WordPress/gutenberg#78693)
- Theme: differentiate `--wpds-color-fg-interactive-{brand,error}-active` vs resting state tokens (WordPress/gutenberg#79151)
- Document AlertDialog as ConfirmDialog successor in Storybook (WordPress/gutenberg#79293)
- Elements: Accept both md5 and sequential `wp-elements-*` class names in tests (WordPress/gutenberg#79300)
- Cover block: add media editor modal (WordPress/gutenberg#79258)
- Blocks: Use positional sprintf placeholders in avatar, comment, and search renderers (WordPress/gutenberg#79290)
- DataForm: Fix panel field control overflow clipping and remove button overrides (WordPress/gutenberg#79275)
- Experiment: Editor Inspector with DataForm - remove revision panel and add link (WordPress/gutenberg#79195)
- Upload Media: Add error taxonomy, localized messages, and dev diagnostics (WordPress/gutenberg#74917)
- Block Fields: Fix crash resolving pattern overrides bindings (WordPress/gutenberg#79092)
- Media: Rename HEIC companion metadata key to source_image (WordPress/gutenberg#79307)
- DataForm: Align `label-side` gap of `panel` layout with `regular` layout (WordPress/gutenberg#79311)
- Theme: Add design tokens maintainer's guide documentation (WordPress/gutenberg#79157)
- Remove ObliviousHarmony from CODEOWNERS for packages/env (WordPress/gutenberg#79308)
- Widget Dashboard: extract into `@wordpress/widget-dashboard` (WordPress/gutenberg#79268)
- Sync editor settings in layout effect (fixes autosave e2e) (WordPress/gutenberg#78799)
- Remove Lighthouse patch (WordPress/gutenberg#79319)
- Editor: Remove orphaned editor-help component leftovers (WordPress/gutenberg#79324)
- Plugins API: Fix the plugin 'render' property validation (WordPress/gutenberg#79315)
- Components: Improve Menu unit tests performance by removing sleeps (WordPress/gutenberg#79295)
- UI Button: Fix loading state in forced colors (WordPress/gutenberg#78820)
- Media Editor: Fix crop canvas pinch zoom (WordPress/gutenberg#79332)
- Docs: Fix typos in README files (WordPress/gutenberg#79331)
- Media Editor: Align crop settle state with transition completion (WordPress/gutenberg#79339)
- KSES: Allow SVG-specific presentation attributes in safe_style_css (WordPress/gutenberg#79172)
- Widget Primitives: decouple discovery from a hardcoded endpoint (WordPress/gutenberg#79322)
- Site Editor: Save hub button styling while saving (WordPress/gutenberg#79287)
- Migrate compose package to TypeScript  (WordPress/gutenberg#70618)
- Vips: bump wasm-vips to 0.0.18 for high-bit-depth AVIF decoding (WordPress/gutenberg#79179)
- Experimental: Expand Editor Inspector: Use DataForm experiment to templates (WordPress/gutenberg#76934)
- Site Editor: Change 'Identity' nav item position (WordPress/gutenberg#79292)
- Block Bindings: Preserve nested lists when binding List Item content (WordPress/gutenberg#79346)
- Site Editor: Handle `aria-current` natively in `SidebarNavigationItem` (WordPress/gutenberg#79305)
- RichText: Fix duplicated format wrappers when typing inside an applied format (WordPress/gutenberg#79091)
- Vips: inline WASM with compact UTF-8 binary encoding instead of base64 (WordPress/gutenberg#79188)
- View Config API and REST Endpoint: make them core ready (WordPress/gutenberg#79347)
- Validation: Add a published-dependency audit script (WordPress/gutenberg#79094)
- Reconcile feature-detection docblock with implemented checks (WordPress/gutenberg#75851)
- fix typo in block-filter.md file (WordPress/gutenberg#79367)
- Search block: Add opt-in support for the semantic <search> element (WordPress/gutenberg#78485)
- Dashboard: revert H1 to "Dashboard" and fix heading hierarchy (WordPress/gutenberg#79251)
- Components: Make ResizableBox children prop optional (WordPress/gutenberg#79370)
- Grid overlays: Use canvas iframe window for viewport visibility detection (WordPress/gutenberg#79255)
- Widget Primitives: make contract and story docs host-agnostic (WordPress/gutenberg#79358)
- Use symbols for style states to avoid property clashes (WordPress/gutenberg#79210)
- Ignore markdown linting for backport-changelog MD files (WordPress/gutenberg#79392)
- Add media control icons (WordPress/gutenberg#78987)
- Icons: Use snake_case `file_path` key in icon registry (WordPress/gutenberg#79100)
- Editor: Use `Stack` for post summary (WordPress/gutenberg#79397)
- Theme: Run stylelint plugin tests via the Node API (WordPress/gutenberg#79199)
- Command Palette: Exclude assets from block editor settings endpoint (WordPress/gutenberg#79396)
- List item: Remove orphaned convertToListItems util (WordPress/gutenberg#79400)
- Video: Apply `inert` directly instead of wrapping in `Disabled` (WordPress/gutenberg#79371)
- Site Editor: Introduce isHidden prop for SidebarNavigationItem (WordPress/gutenberg#79352)
- Post Editor: Use the correct directory for recent preload improvements (WordPress/gutenberg#79359)
- Configure Flakiness.io reporting for e2e tests (WordPress/gutenberg#79173)
- View Config: request a subset of properties with the `_fields` parameter (WordPress/gutenberg#79355)
- Storybook: Reorganize design system introduction for first touch-point usefulness (WordPress/gutenberg#79360)
- Block editor: Convert utility modules to TypeScript (WordPress/gutenberg#79323)
- devops: configure report auto-upload for flakiness.io dashboard (WordPress/gutenberg#79411)
- UI: Simplify focus ring styles (WordPress/gutenberg#78823)
- TextControl: Hard deprecate 40px default size (WordPress/gutenberg#79386)
- devops: upload unit test results to flakiness dashboard (WordPress/gutenberg#79414)
- Clarify Core-specific steps when bumping support (WordPress/gutenberg#79416)
- Pattern editing: show root block identity when editing pattern sections (WordPress/gutenberg#79417)
- Patterns: Add a missing gap to 'Enable overrides' modal (WordPress/gutenberg#79421)
- Audio: Apply `inert` directly instead of wrapping in `Disabled` (WordPress/gutenberg#79423)
- Experimental: Expand Editor Inspector: Use DataForm experiment to template parts (WordPress/gutenberg#79399)
- Base Styles: Add wpds-var Sass helper for design token fallbacks (WordPress/gutenberg#78698)
- Block Editor: Allow overriding `disableContentOnlyForTemplateParts` setting (WordPress/gutenberg#79191)
- Mark all controlled/mode block changes non-persistent (WordPress/gutenberg#79350)
- Revert "Base Styles: Add wpds-var Sass helper for design token fallbacks (WordPress/gutenberg#78698)" (WordPress/gutenberg#79429)
- Popover: Align transition state styles (WordPress/gutenberg#79410)
- DataForm panel layout: fix double-clicking a field row leaving the flyout stuck open (WordPress/gutenberg#79348)
- Classic Block: Port PHPUnit coverage for wp_declare_classic_block_necessary (WordPress/gutenberg#79434)
- Fields: Move author fields for templates and template parts (WordPress/gutenberg#79395)
- Theme: Drop `--wpds-dimension-base` from the public token surface (WordPress/gutenberg#79254)
- Merge shared stylelint disallowed-list in components (WordPress/gutenberg#79425)
- Edit Post: Refactor MetaBoxesSection to use data hooks (WordPress/gutenberg#79433)
- View config endpoint: bring back changes from core (WordPress/gutenberg#79438)
- devops: separate environments for jest date tests (WordPress/gutenberg#79453)
- UI: Disable instant overlay popup transitions (WordPress/gutenberg#79432)
- Components: Refactor withFallbackStyles from class to function component (WordPress/gutenberg#78837)
- Automated Testing: Globally shim Element#getClientRects (WordPress/gutenberg#79353)
- Theme: Promote ThemeProvider to stable API (WordPress/gutenberg#78958)
- Automated Testing: Add babel-plugin-transform-import-meta to emulate import.meta.dirname (WordPress/gutenberg#79362)
- E2E: Support WordPress installs served from a subdirectory (WordPress/gutenberg#79166)
- Custom HTML: Fix scrollbar after tab switch in modal (WordPress/gutenberg#78571)
- Theme: apply ThemeProvider styles inline (I2) (WordPress/gutenberg#78678)
- Add flex vertical alignment tool to block inspector layout panel (WordPress/gutenberg#79426)
- Block Supports: Relocate text and bg color controls to Typography and Background panels (WordPress/gutenberg#77279)
- Add e2e coverage for pattern wrapper block identity (WordPress/gutenberg#79462)
- Storybook: Include playground stories and MDX in CI smoke tests (WordPress/gutenberg#79454)
- BoxControl: respect a consumer-supplied placeholder via inputProps (WordPress/gutenberg#79466)
- Media Fields: Ensure the current post is always included in the initial options (WordPress/gutenberg#79467)
- Global Styles: Add textShadow style support (WordPress/gutenberg#73320)
- Media Fields: Avoid focus loss when detaching the current parent (WordPress/gutenberg#79468)
- CI: Disallow new dependencies in the root package.json (WordPress/gutenberg#78616)
- Experimental: Preserve editor panel visibility in the DataForm post summary (WordPress/gutenberg#79441)
- Tabs: Pre-stabilization API cleanup and refactoring (WordPress/gutenberg#79337)
- BoxControl: Hard deprecate 40px default size (WordPress/gutenberg#79419)
- Image Block: Remove chained entity record calls (WordPress/gutenberg#79469)
- UI: Use isomorphic layout effects (WordPress/gutenberg#79458)
- Components: add Emotion migration guardrails (WordPress/gutenberg#79442)
- devops: separate histories for different node.js versions (WordPress/gutenberg#79473)
- Components: migrate Divider to SCSS module (WordPress/gutenberg#79444)
- Block Library: unwrap Classic block migration notice experiment (WordPress/gutenberg#78165)
- Editor: Refactor AutosaveMonitor to a function component (WordPress/gutenberg#79043)
- Boot: run page `init` modules in `initSinglePage` (WordPress/gutenberg#79394)
- DataFormPostSummary: fix different `useSelect` returned values  (WordPress/gutenberg#79478)
- Icons: self declare color (WordPress/gutenberg#79320)
- Theme: Document ramp memoization contract (WordPress/gutenberg#79459)
- tools: Restrict layout effect imports in UI and theme (WordPress/gutenberg#79476)
- CI: Avoid full-history checkout for the root-dependencies check (WordPress/gutenberg#79489)
- Simplify playlist track state (WordPress/gutenberg#79448)
- prepend_to_selector: optimized with str_replace() (WordPress/gutenberg#76556)
- Components: migrate Surface to SCSS module (WordPress/gutenberg#79445)
- Docs: Add a widget anatomy doc and lighten the widget system doc (WordPress/gutenberg#79435)
- Media Editor: remove inline cropper (follow-up to WordPress/gutenberg#78653) (WordPress/gutenberg#78654)
- Grid: Add option to stretch columns with auto-fit for better layout flexibility (WordPress/gutenberg#79356)
- Guidelines: Use str_starts_with() in is_block_meta_key() (WordPress/gutenberg#79491)
- Color popover: move contrast warning notice to the bottom (WordPress/gutenberg#79512)
- BorderBoxControl: Hard deprecate 40px default size (WordPress/gutenberg#79420)
- Remove Classic Block conversion from BlockInvalidWarning (WordPress/gutenberg#79500)
- [RTC] Add granular collaboration control (WordPress/gutenberg#79184)
- FontSizePicker: Hard deprecate 40px default size (WordPress/gutenberg#79481)
- React 19: patch to support legacy inert attribute values (WordPress/gutenberg#79475)
- Icons: Add Storybook React Vite dev dependency (WordPress/gutenberg#79506)
- QueryControls: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79485)
- Block editor: use core/registered-block in reducer tests (WordPress/gutenberg#79522)
- UI: Update @base-ui/react to 1.6.0 (WordPress/gutenberg#79408)
- Refactor: Replace strpos with str_starts_with for improved consistency (WordPress/gutenberg#79519)
- Block Library: Remove redundant parentheses around assignments (WordPress/gutenberg#79516)
- Tabs: Focus first tab when adding Tabs block (WordPress/gutenberg#79507)
- ui/IconButton: Restore default tooltip delay (WordPress/gutenberg#79505)
- FocalPointPicker: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79487)
- Components: document CSS module class composition (WordPress/gutenberg#79490)
- BorderControl: Hard deprecate 40px default size (WordPress/gutenberg#79418)
- Components: migrate Truncate to SCSS module (WordPress/gutenberg#79446)
- Show the admin bar in the Post and Site Editor by default (WordPress/gutenberg#79197)
- SearchControl: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79538)
- Stylelint: Enforce module class naming in UI packages (WordPress/gutenberg#79504)
- Components: Add missing descriptions for design system components (WordPress/gutenberg#79460)
- LetterSpacingControl: Hard deprecate 40px default size (WordPress/gutenberg#79533)
- Experiments: Move screen under Settings, drop top-level Gutenberg menu and Demo page (WordPress/gutenberg#79456)
- Tabs: Combine and cleanup toolbar controls (WordPress/gutenberg#79537)
- Tabs: Fix dirty editor state on mount caused by tab-list sync (WordPress/gutenberg#79540)
- RTC: fix undo / redo breakage when plug-in with metabox is loaded (WordPress/gutenberg#79510)
- Block Supports: Guard elements hover rendering against missing hover selector (WordPress/gutenberg#79511)
- Commands: add toggle for content-only pattern/template part editing (WordPress/gutenberg#78383)
- Integrate Resizable Editor with Device Preview and add Responsive editing (WordPress/gutenberg#75121)
- Pattern editing: use section block selector for pattern display identity (WordPress/gutenberg#79565)
- Commands: Suggest pattern editing toggle for selected patterns (WordPress/gutenberg#79566)
- Tabs: Select tab panel when caret moves into tab (WordPress/gutenberg#79558)
- Fix unsetting values in viewport states for grid and constrained layouts (WordPress/gutenberg#79520)
- Add layout and block spacing support to Latest Posts block (WordPress/gutenberg#77989)
- Widget inserter: more accurate widget previews (WordPress/gutenberg#79517)
- Tabs: Remove unnecessary callback memoization (WordPress/gutenberg#79567)
- Icons: Add PHP method(s) for rendering inline SVG icons from the registry (WordPress/gutenberg#78332)
- Tab List: Fix render inline formatting on frontend (WordPress/gutenberg#79554)
- Divider: Restore lower border specificity (WordPress/gutenberg#79534)
- Tabs: Remove redundant block selection from Add/Remove tab actions (WordPress/gutenberg#79571)
- Icons: Fix viewBox attribute casing assertion for older WP versions (WordPress/gutenberg#79576)
- Add icon state classes to Accordion block (WordPress/gutenberg#74257)
- Pattern editing: Fade block outside the edited pattern in List View (WordPress/gutenberg#73997)
- Experiments: move long intro to content (WordPress/gutenberg#79578)
- Updating image urls (WordPress/gutenberg#79529)
- `useTypingObserver`: capture the window reference for cleanup (WordPress/gutenberg#78772)
- Tabs: Fix rich text label comparation when syncing the list (WordPress/gutenberg#79582)
- Add `PluginPostStatusInfo` in DataForm post summary (WordPress/gutenberg#79586)
- theme: Protect design tokens CSS import (WordPress/gutenberg#79551)
- TreeSelect: Hard deprecate 40px default size (WordPress/gutenberg#79550)
- Storybook: Scope Docs theme providers (WordPress/gutenberg#79496)
- Base Styles: Reapply wpds-var Sass helper (WordPress/gutenberg#79470)
- Docs: Add image hosting guidance to the documentation contributors guide (WordPress/gutenberg#79574)
- CODEOWNERS: assign widget dashboard areas to @retrofox (WordPress/gutenberg#79484)
- Automated Testing: Use three-dot diff comparison for changelog checks (WordPress/gutenberg#79548)
- Base Styles: disallow direct var(--wpds-*) usage (WordPress/gutenberg#79424)
- Abilities: Support URI schema format (WordPress/gutenberg#79555)
- LineHeightControl: Hard deprecate 40px default size (WordPress/gutenberg#79589)
- Theme: Revert ThemeProvider stable API (WordPress/gutenberg#79594)
- Experimental: Expand DataForm inspector to patterns (WordPress/gutenberg#79452)
- RTC: Fix autosave update with no content (WordPress/gutenberg#79591)
- Icons: Add APIs for collection and icon registration (WordPress/gutenberg#77260)
- TextIndentControl: Remove unnecessary __next40pxDefaultSize prop (WordPress/gutenberg#79597)
- FontFamilyControl: Hard deprecate 40px default size (WordPress/gutenberg#79593)
- Icons Registry test: Fix trigger_error suppression on WP < 7.0 (WordPress/gutenberg#79607)
- Global Styles: Migrate color palette tabs to @wordpress/ui (WordPress/gutenberg#79281)
- Experiments: Shorten the plugin settings page name (WordPress/gutenberg#79579)
- Widget Primitives: Add `WidgetAttributeField` for typed attribute schemas (WordPress/gutenberg#79544)
- Fix - Accordion: Text in a closed accordion panel cannot be found via the browser search (WordPress/gutenberg#74744)
- Icons Registry: Allow digits and underscores in icon slugs (WordPress/gutenberg#79623)
- Knowledge: Rename the Guidelines CPT storage primitive to Knowledge (WordPress/gutenberg#79149)
- Update @terrazzo/* to 2.4.0 and regenerate design tokens (WordPress/gutenberg#79627)
- Tabs: RichText handlers for adding/removing tabs (WordPress/gutenberg#79583)
- Declare @types/node explicitly and harden no-unsafe-wp-apis (WordPress/gutenberg#79626)
- Knowledge: Dissolve the Guidelines singleton into per-scope rows (WordPress/gutenberg#79263)
- Jest: Mock CSS module class names (WordPress/gutenberg#79535)
- React 19 patch: log warnings when polyfills are hit (WordPress/gutenberg#79624)
- Upgrade browserslist to ^4.28.4 (WordPress/gutenberg#79630)
- Dedupe @testing-library/dom to a single 10.4.1 in the lockfile (WordPress/gutenberg#79631)
- Theme: Restore public ThemeProvider export (WordPress/gutenberg#79620)
- Paste: move spaces out of inline formatting elements (WordPress/gutenberg#79637)
- Blocks: Add innerContent support for static inner blocks, adopt it in the HTML block (WordPress/gutenberg#79115)
- Update webpack to 5.108.1 (WordPress/gutenberg#79633)
- RangeControl: Hard deprecate 40px default size (WordPress/gutenberg#79590)
- Animated GIF to video conversion (via mediabunny) plus conversion controls (WordPress/gutenberg#78410)
- Expose widget category through the build pipeline and REST API (WordPress/gutenberg#79638)
- Button: Fix corner artifacts by using background-clip: border-box (WordPress/gutenberg#79524)
- Notes: inline (partial-text) notes via hybrid marker + strip-on-render approach (WordPress/gutenberg#78218)
- balance top padding for sidebar controls (WordPress/gutenberg#79660)
- Guidelines E2E Tests: wait for boot to load copy page (WordPress/gutenberg#79663)
- Media Editor: Use new Tabs component from the ui package, and its minimal variant (WordPress/gutenberg#79664)
- View config: Add better post type default `form` (WordPress/gutenberg#79625)
- Opt in to npm v11 supply-chain security features (WordPress/gutenberg#79614)
- Revert "Opt in to npm v11 supply-chain security features (WordPress/gutenberg#79614)" (WordPress/gutenberg#79667)
- Navigation Link: Fix "[object Object]" in link preview for untitled entities (WordPress/gutenberg#79616)
- Update stylelint to 16.26.1 (WordPress/gutenberg#79648)
- Remove redundant @jest-environment jsdom pragmas from unit tests (WordPress/gutenberg#79672)
- npm dedupe (WordPress/gutenberg#79618)
- E2E: Ban uuid package via ESLint, use crypto.randomUUID() instead (WordPress/gutenberg#79673)
- Jest: Add missing clsx dev dependency (WordPress/gutenberg#79677)
- Style Engine: Preserve important gradient declarations (WordPress/gutenberg#79568)
- Widget Dashboard: Refactor tile header and toolbar chrome (WordPress/gutenberg#79639)
- Widget Dashboard: Anchor settings drawer to the right and toggle it from the gear (WordPress/gutenberg#79683)
- Declare undeclared workspace dependencies (WordPress/gutenberg#79684)
- Move icon tests out of phpunit/experimental (WordPress/gutenberg#79695)
- WP Build: improve documentation for routes (WordPress/gutenberg#79688)
- Packages: Backport UI and theme release changelogs (WordPress/gutenberg#79690)
- Bump preactjs/compressed-size-action (WordPress/gutenberg#79587)
- Bump js-yaml from 3.14.2 to 3.15.0 (WordPress/gutenberg#79644)
- FontAppearanceControl: Hard deprecate 40px default size (WordPress/gutenberg#79635)
- Bump actions/cache from 5.0.5 to 6.1.0 in /.github/setup-node (WordPress/gutenberg#79692)
- Bump actions/cache from 5.0.5 to 6.1.0 in /.github/workflows (WordPress/gutenberg#79693)
- Bump actions/checkout from 6.0.3 to 7.0.0 in /.github/workflows (WordPress/gutenberg#79488)
- Editor: Move focus to revisions slider when entering revisions mode (WordPress/gutenberg#79691)
- Packages: Backport package release metadata (WordPress/gutenberg#79702)
- Update: simplify inline-note marker stripping to match core backport (WordPress/gutenberg#79670)
- Add an e2e test for single paragraph selection on triple click (WordPress/gutenberg#79706)
- ComboboxControl: Hard deprecate 40px default size (WordPress/gutenberg#79636)
- FormFileUpload: Hard deprecate 40px default size (WordPress/gutenberg#79655)
- Automated Testing: Enforce dependencies checks consistently for development files (WordPress/gutenberg#79703)
- Base Styles: Make Sass token fallbacks self-contained (WordPress/gutenberg#79651)
- Radio: Hard deprecate 40px default size (WordPress/gutenberg#79657)
- ToggleGroupControl: Hard deprecate 40px default size (WordPress/gutenberg#79656)
- Heading: Fix ESLint warnings (WordPress/gutenberg#79694)
- Media Inserter: Add a simple Attached images category with attach and detach behaviour (WordPress/gutenberg#79336)
- Upgrade Playwright to v1.61 (WordPress/gutenberg#78632)
- Icons: Add an icon collections REST endpoint and tighten name rules (WordPress/gutenberg#79686)
- Experimental Media Modal: Ensure selection is properly cleared between open/close (WordPress/gutenberg#79731)
- Image: Use Playwright's locator.drop for media placeholder drop test (WordPress/gutenberg#79733)
- Add repeat all icon (WordPress/gutenberg#79698)
- Widgets: translate `title`, `description`, and `keywords` server-side (WordPress/gutenberg#79701)
- Build: Support --skip-types in npm run dev (WordPress/gutenberg#79736)
- Release: Revert to 23.5rc-3 (WordPress/gutenberg#79741)
- Render the selected static inner block synchronously (WordPress/gutenberg#79726)
- Revert "Bump plugin version to 23.5.0" (WordPress/gutenberg#79744)
- Build: Replace unmaintained release actions (WordPress/gutenberg#78258)
- Build: Use GUTENBERG_TOKEN when creating the release draft (WordPress/gutenberg#79747)
- CI: Enforce pruned ESLint suppressions during lint (WordPress/gutenberg#79708)
- Revert "Bump plugin version to 23.5.0" (WordPress/gutenberg#79750)

Props desrosj, wildworks.
Fixes #65589.

git-svn-id: https://develop.svn.wordpress.org/trunk@62738 602fd350-edb4-49c9-b593-d223f7449a82
markjaquith pushed a commit to WordPress/WordPress that referenced this pull request Jul 14, 2026
This updates the pinned commit hash of the Gutenberg repository from `98a796c8780c480ef7bcfe03c42302d9564d785c` (version `23.4.0`) to `b5574edc8a952b2f1e528693761a97b1b3b580eb` (version `23.5.0`).

A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.4.0..v23.5.0.

The following commits are included:

- Site Editor: Fix admin color scheme bleeding through the mobile content scrollbar gutter (WordPress/gutenberg#79056)
- Build: Add GUTENBERG_CHECK_INSTALLED_DEPS env var to opt out of installed-deps check (WordPress/gutenberg#79068)
- Media Editor: Keep the modal skeleton pinned in the editor flow (WordPress/gutenberg#79070)
- Editor: Hide cmd palette shortcut in document bar when admin bar is shown (WordPress/gutenberg#79060)
- Math format: seed LaTeX input from the current selection (WordPress/gutenberg#79052)
- Omnibar: Rename experiment to match iteration issue (WordPress/gutenberg#79074)
- Theme: Add Figma scopes to element size tokens (WordPress/gutenberg#79032)
- Admin bar in editor experiment: show site icon instead of dashicon if set (WordPress/gutenberg#79049)
- Math format: Simplify the onClick handler and use canonical selected-text capture (WordPress/gutenberg#79081)
- Style Engine: Export public TypeScript types (WordPress/gutenberg#79079)
- Image: Fix pasted images stretching when dimensions are preserved (WordPress/gutenberg#79067)
- Update `@ariakit/react` to 0.4.29 (WordPress/gutenberg#79055)
- Navigation: Use block context to determine whether Page List is nested in Submenu (WordPress/gutenberg#79048)
- Fix code editor cursor jump on remote RTC updates (WordPress/gutenberg#79005)
- Fix: Custom HTML block preview keeps expanding when iframe uses height:100vh (WordPress/gutenberg#78677)
- Image block: don't show crop icon while image is uploading (WordPress/gutenberg#79103)
- Media Editor Modal: Add a loading and simple error state (WordPress/gutenberg#79101)
- Add React 19 as an experimental flag (WordPress/gutenberg#79077)
- Try: Remove Tab (Tab list item) block  (WordPress/gutenberg#77439)
- Navigation block: Fix responsive style states for typography settings (WordPress/gutenberg#79072)
- Popover: add open/close motion and fix close re-anchor (WordPress/gutenberg#78885)
- Remove unused build:profile-types and component-usage-stats scripts (WordPress/gutenberg#79113)
- RTC: Allow disabling collaboration by post type (WordPress/gutenberg#78984)
- Omnipresent Toolbar: increase top padding in sidebar nav title (WordPress/gutenberg#79083)
- Add support for aspect ratio and related controls in viewport states (WordPress/gutenberg#78795)
- Fix responsive element styles front end output (WordPress/gutenberg#79135)
- BaseControl: add text-wrap: pretty (WordPress/gutenberg#79112)
- wp-build: Return null from getPackageInfo on resolve miss instead of throwing (WordPress/gutenberg#78715)
- Global styles revisions: replace active text with badge (WordPress/gutenberg#79137)
- Editor: Disable saving while a non-post entity is being saved (WordPress/gutenberg#79069)
- Add xl border radius token for page shell surfaces. (WordPress/gutenberg#78913)
- Add corner radius presets to ThemeProvider (WordPress/gutenberg#78816)
- theme: rename `bg`/`fg` design token groups to `background`/`foreground` (WordPress/gutenberg#79098)
- Theme: Enforce sRGB seed-color input contract for ThemeProvider (WordPress/gutenberg#79148)
- Theme: Rename `--wpds-color-stroke-focus-brand` token to `--wpds-color-stroke-focus` (WordPress/gutenberg#79125)
- refactor: Move 'glob' dependency to appropriate workspaces (WordPress/gutenberg#79145)
- Add lock-unlock route as a workspace and update dependencies (WordPress/gutenberg#79138)
- Dependabot: Add npm entry so security update PRs can be rebased (WordPress/gutenberg#79076)
- refactor: rename '@wordpress/lock-unlock' to '@wordpress/routes-lock-unlock' across the codebase (WordPress/gutenberg#79163)
- Panel: Recommend CollapsibleCard for use outside the block inspector (WordPress/gutenberg#78863)
- Editor: Migrate FlatTermSelector to UI Stack component (WordPress/gutenberg#78659)
- design-system-mcp: Remove Storybook dependency in TypeScript types (WordPress/gutenberg#79132)
- Bump rollup from 4.55.1 to 4.59.0 (WordPress/gutenberg#75964)
- Media modal: small tweak to gutters (WordPress/gutenberg#79168)
- Icon Block: Add flip and rotate transformation controls (WordPress/gutenberg#77017)
- Media Editor: Magnify the crop to fill the canvas (WordPress/gutenberg#79044)
- Update capitalisation and spelling within the welcome tour (WordPress/gutenberg#53028)
- Feature: Need to add “Show More” / “Show Less” toggle in Note. (WordPress/gutenberg#77446)
- Correct behaviour of flex child fixed width and introduce max width option (WordPress/gutenberg#79073)
- Eslint: move deps from root into tools/eslint and packages/eslint-plugin (WordPress/gutenberg#79110)
- Gallery: Hide Navigation button type when lightbox editing is disabled (WordPress/gutenberg#79147)
- Add more React internals polyfills (WordPress/gutenberg#79142)
- [DataViewsPicker]: `DataViewsPicker.BulkActionToolbar` now renders only the bulk-selection info and action buttons (WordPress/gutenberg#79180)
- Block Editor: Fix potential crash from 'useBlockToolbarPopoverProps' (WordPress/gutenberg#79178)
- Tabs: Simplify layout and prune redundant block supports (WordPress/gutenberg#77646)
- e2e: Retry transient theme activation failures in pages spec (WordPress/gutenberg#79171)
- Revisions screen with picker-activity layout (WordPress/gutenberg#77333)
- chore: remove glob from root pkg json (WordPress/gutenberg#79183)
- Core Data: Don't use 'useQuerySelect' in 'useEntityRecord(s)' hooks (WordPress/gutenberg#76198)
- Revisions: Ignore empty `[]/{}` meta values in the Meta diff panel (WordPress/gutenberg#79185)
- UI Field.Description: add `text-wrap: pretty` (WordPress/gutenberg#79143)
- Blocks: Migrate Markdown converter from showdown to marked (WordPress/gutenberg#77953)
- Bump shivammathur/setup-php (WordPress/gutenberg#79193)
- Icons block: insert an icon by default (WordPress/gutenberg#79111)
- Theme: Add tests for ThemeProvider and useThemeProviderStyles (WordPress/gutenberg#79126)
- Icon block: Move flip controls to toolbar group. (WordPress/gutenberg#79192)
- Packages: Fix the published dependency surface of npm packages (WordPress/gutenberg#79095)
- Block Library: Remove unused Babel optimization plugin (WordPress/gutenberg#79162)
- Automated Testing: Use static value for IS_GUTENBERG_PLUGIN env setup (WordPress/gutenberg#79201)
- Scripts: Avoid tests getting published to npm (WordPress/gutenberg#79204)
- Theme: Add disabled variants for brand and error interactive color tokens (WordPress/gutenberg#79124)
- Fix: State styles – clear `background-image` when hover sets a solid `background-color` (WordPress/gutenberg#78992)
- Media editor: Snap crop handles to source pixels (WordPress/gutenberg#79139)
- Image block: remove duplicate data-wp-bind--srcset in the lightbox overlay (WordPress/gutenberg#79202)
- Template Part: Remove restriction on tabs / inspector fills (WordPress/gutenberg#79181)
- Editor: Guard PostViewLink against post types without a labels object (WordPress/gutenberg#79160)
- Media editor modal: Fix keyboard resizing for locked aspect-ratio crops (WordPress/gutenberg#79207)
- wp-build: Resolve @wordpress/build from __dirname in resolve-miss test (WordPress/gutenberg#79208)
- Theme: forward ThemeProvider cornerRadius preset to :root for root providers (WordPress/gutenberg#79153)
- Refactor Prettier configuration and update dependencies (WordPress/gutenberg#79219)
- chore: Add missing root devDependencies for WordPress packages (WordPress/gutenberg#79221)
- Refactor: Update  npm-package-json-lint configuration (WordPress/gutenberg#79223)
- Components: Complete WPDS token migration for remaining borders (WordPress/gutenberg#79003)
- Plugin: Bump minimum required WordPress version to 6.9 (WordPress/gutenberg#79196)
- Autocomplete: Add Group and GroupLabel primitives (WordPress/gutenberg#78901)
- Pullquote: Migrate to text-align block support (WordPress/gutenberg#79225)
- Style Book: Fix crash when previewing variations for blocks without examples (WordPress/gutenberg#79131)
- Theme: Add stroke-surface tokens for the caution tone (WordPress/gutenberg#79198)
- Icon block: Default to core/info via block.json instead of an insert-time effect (WordPress/gutenberg#79212)
- Backport changelog and package version updates from wp/latest (WordPress/gutenberg#79234)
- V2 Site Editor: Fix template edit routes (WordPress/gutenberg#79230)
- Grid: Prepare `@wordpress/grid` for npm publishing as experimental 0.1.0 (WordPress/gutenberg#79071)
- File Block: Replace on-mount downloadButtonText effect with a default variation (WordPress/gutenberg#79236)
- Components, DataViews: Adopt --wpds-dimension-size-* tokens (WordPress/gutenberg#79093)
- Refactor: move stylelint config and deps to tools/stylelint workspace (WordPress/gutenberg#79226)
- Revert "Components: Complete WPDS token migration for remaining borders (WordPress/gutenberg#79003)" (WordPress/gutenberg#79243)
- Edit Post: Refactor and cleanup InitPatternModal component (WordPress/gutenberg#79190)
- Widget Primitives: extract into `@wordpress/widget-primitives` (WordPress/gutenberg#79134)
- chore: remove @wordpress/vips dependency from root (WordPress/gutenberg#79249)
- design-system-mcp: Improve README overview and setup instructions (WordPress/gutenberg#79238)
- Components: Re-land WPDS border token migration with Emotion-safe comments (WordPress/gutenberg#79244)
- Theme: Provide design-system token defaults without a runtime `<ThemeProvider>` (WordPress/gutenberg#78664)
- List View block support: Hide list tab when allowedBlocks is empty, with no children (WordPress/gutenberg#78932)
- Handle WP.org SVN missing tag warnings (WordPress/gutenberg#79257)
- CI: Run PHP unit tests on PHP 8.4 and 8.5 (WordPress/gutenberg#79260)
- mark @types/react as an optional peer dependency (WordPress/gutenberg#79272)
- Block bindings : add support to list-item (WordPress/gutenberg#78947)
- document widget-modules endpoint experiment gate (WordPress/gutenberg#79264)
- Storybook: Upgrade Storybook to 10.4 (WordPress/gutenberg#77382)
- Core Data: Cleanup edits matching persisted record on undo/redo (WordPress/gutenberg#77100)
- Notes: Simplify 'Show more/less' collapse logic (WordPress/gutenberg#79261)
- File Block: Combine audio/video/image to file transforms (WordPress/gutenberg#79242)
- Button: Use font weight token (WordPress/gutenberg#79278)
- Avoid dirtying related navigation entities during passive render (WordPress/gutenberg#79000)
- Theme: Skip serializing `data-wpds-root-provider="false"` on non-root providers (WordPress/gutenberg#79253)
- Patterns: Migrate modals to @wordpress/ui components and fix rename input width (WordPress/gutenberg#79233)
- ESLint, UI, Components: Mark `Tooltip` from `@wordpress/ui` as recommended (WordPress/gutenberg#78693)
- Theme: differentiate `--wpds-color-fg-interactive-{brand,error}-active` vs resting state tokens (WordPress/gutenberg#79151)
- Document AlertDialog as ConfirmDialog successor in Storybook (WordPress/gutenberg#79293)
- Elements: Accept both md5 and sequential `wp-elements-*` class names in tests (WordPress/gutenberg#79300)
- Cover block: add media editor modal (WordPress/gutenberg#79258)
- Blocks: Use positional sprintf placeholders in avatar, comment, and search renderers (WordPress/gutenberg#79290)
- DataForm: Fix panel field control overflow clipping and remove button overrides (WordPress/gutenberg#79275)
- Experiment: Editor Inspector with DataForm - remove revision panel and add link (WordPress/gutenberg#79195)
- Upload Media: Add error taxonomy, localized messages, and dev diagnostics (WordPress/gutenberg#74917)
- Block Fields: Fix crash resolving pattern overrides bindings (WordPress/gutenberg#79092)
- Media: Rename HEIC companion metadata key to source_image (WordPress/gutenberg#79307)
- DataForm: Align `label-side` gap of `panel` layout with `regular` layout (WordPress/gutenberg#79311)
- Theme: Add design tokens maintainer's guide documentation (WordPress/gutenberg#79157)
- Remove ObliviousHarmony from CODEOWNERS for packages/env (WordPress/gutenberg#79308)
- Widget Dashboard: extract into `@wordpress/widget-dashboard` (WordPress/gutenberg#79268)
- Sync editor settings in layout effect (fixes autosave e2e) (WordPress/gutenberg#78799)
- Remove Lighthouse patch (WordPress/gutenberg#79319)
- Editor: Remove orphaned editor-help component leftovers (WordPress/gutenberg#79324)
- Plugins API: Fix the plugin 'render' property validation (WordPress/gutenberg#79315)
- Components: Improve Menu unit tests performance by removing sleeps (WordPress/gutenberg#79295)
- UI Button: Fix loading state in forced colors (WordPress/gutenberg#78820)
- Media Editor: Fix crop canvas pinch zoom (WordPress/gutenberg#79332)
- Docs: Fix typos in README files (WordPress/gutenberg#79331)
- Media Editor: Align crop settle state with transition completion (WordPress/gutenberg#79339)
- KSES: Allow SVG-specific presentation attributes in safe_style_css (WordPress/gutenberg#79172)
- Widget Primitives: decouple discovery from a hardcoded endpoint (WordPress/gutenberg#79322)
- Site Editor: Save hub button styling while saving (WordPress/gutenberg#79287)
- Migrate compose package to TypeScript  (WordPress/gutenberg#70618)
- Vips: bump wasm-vips to 0.0.18 for high-bit-depth AVIF decoding (WordPress/gutenberg#79179)
- Experimental: Expand Editor Inspector: Use DataForm experiment to templates (WordPress/gutenberg#76934)
- Site Editor: Change 'Identity' nav item position (WordPress/gutenberg#79292)
- Block Bindings: Preserve nested lists when binding List Item content (WordPress/gutenberg#79346)
- Site Editor: Handle `aria-current` natively in `SidebarNavigationItem` (WordPress/gutenberg#79305)
- RichText: Fix duplicated format wrappers when typing inside an applied format (WordPress/gutenberg#79091)
- Vips: inline WASM with compact UTF-8 binary encoding instead of base64 (WordPress/gutenberg#79188)
- View Config API and REST Endpoint: make them core ready (WordPress/gutenberg#79347)
- Validation: Add a published-dependency audit script (WordPress/gutenberg#79094)
- Reconcile feature-detection docblock with implemented checks (WordPress/gutenberg#75851)
- fix typo in block-filter.md file (WordPress/gutenberg#79367)
- Search block: Add opt-in support for the semantic <search> element (WordPress/gutenberg#78485)
- Dashboard: revert H1 to "Dashboard" and fix heading hierarchy (WordPress/gutenberg#79251)
- Components: Make ResizableBox children prop optional (WordPress/gutenberg#79370)
- Grid overlays: Use canvas iframe window for viewport visibility detection (WordPress/gutenberg#79255)
- Widget Primitives: make contract and story docs host-agnostic (WordPress/gutenberg#79358)
- Use symbols for style states to avoid property clashes (WordPress/gutenberg#79210)
- Ignore markdown linting for backport-changelog MD files (WordPress/gutenberg#79392)
- Add media control icons (WordPress/gutenberg#78987)
- Icons: Use snake_case `file_path` key in icon registry (WordPress/gutenberg#79100)
- Editor: Use `Stack` for post summary (WordPress/gutenberg#79397)
- Theme: Run stylelint plugin tests via the Node API (WordPress/gutenberg#79199)
- Command Palette: Exclude assets from block editor settings endpoint (WordPress/gutenberg#79396)
- List item: Remove orphaned convertToListItems util (WordPress/gutenberg#79400)
- Video: Apply `inert` directly instead of wrapping in `Disabled` (WordPress/gutenberg#79371)
- Site Editor: Introduce isHidden prop for SidebarNavigationItem (WordPress/gutenberg#79352)
- Post Editor: Use the correct directory for recent preload improvements (WordPress/gutenberg#79359)
- Configure Flakiness.io reporting for e2e tests (WordPress/gutenberg#79173)
- View Config: request a subset of properties with the `_fields` parameter (WordPress/gutenberg#79355)
- Storybook: Reorganize design system introduction for first touch-point usefulness (WordPress/gutenberg#79360)
- Block editor: Convert utility modules to TypeScript (WordPress/gutenberg#79323)
- devops: configure report auto-upload for flakiness.io dashboard (WordPress/gutenberg#79411)
- UI: Simplify focus ring styles (WordPress/gutenberg#78823)
- TextControl: Hard deprecate 40px default size (WordPress/gutenberg#79386)
- devops: upload unit test results to flakiness dashboard (WordPress/gutenberg#79414)
- Clarify Core-specific steps when bumping support (WordPress/gutenberg#79416)
- Pattern editing: show root block identity when editing pattern sections (WordPress/gutenberg#79417)
- Patterns: Add a missing gap to 'Enable overrides' modal (WordPress/gutenberg#79421)
- Audio: Apply `inert` directly instead of wrapping in `Disabled` (WordPress/gutenberg#79423)
- Experimental: Expand Editor Inspector: Use DataForm experiment to template parts (WordPress/gutenberg#79399)
- Base Styles: Add wpds-var Sass helper for design token fallbacks (WordPress/gutenberg#78698)
- Block Editor: Allow overriding `disableContentOnlyForTemplateParts` setting (WordPress/gutenberg#79191)
- Mark all controlled/mode block changes non-persistent (WordPress/gutenberg#79350)
- Revert "Base Styles: Add wpds-var Sass helper for design token fallbacks (WordPress/gutenberg#78698)" (WordPress/gutenberg#79429)
- Popover: Align transition state styles (WordPress/gutenberg#79410)
- DataForm panel layout: fix double-clicking a field row leaving the flyout stuck open (WordPress/gutenberg#79348)
- Classic Block: Port PHPUnit coverage for wp_declare_classic_block_necessary (WordPress/gutenberg#79434)
- Fields: Move author fields for templates and template parts (WordPress/gutenberg#79395)
- Theme: Drop `--wpds-dimension-base` from the public token surface (WordPress/gutenberg#79254)
- Merge shared stylelint disallowed-list in components (WordPress/gutenberg#79425)
- Edit Post: Refactor MetaBoxesSection to use data hooks (WordPress/gutenberg#79433)
- View config endpoint: bring back changes from core (WordPress/gutenberg#79438)
- devops: separate environments for jest date tests (WordPress/gutenberg#79453)
- UI: Disable instant overlay popup transitions (WordPress/gutenberg#79432)
- Components: Refactor withFallbackStyles from class to function component (WordPress/gutenberg#78837)
- Automated Testing: Globally shim Element#getClientRects (WordPress/gutenberg#79353)
- Theme: Promote ThemeProvider to stable API (WordPress/gutenberg#78958)
- Automated Testing: Add babel-plugin-transform-import-meta to emulate import.meta.dirname (WordPress/gutenberg#79362)
- E2E: Support WordPress installs served from a subdirectory (WordPress/gutenberg#79166)
- Custom HTML: Fix scrollbar after tab switch in modal (WordPress/gutenberg#78571)
- Theme: apply ThemeProvider styles inline (I2) (WordPress/gutenberg#78678)
- Add flex vertical alignment tool to block inspector layout panel (WordPress/gutenberg#79426)
- Block Supports: Relocate text and bg color controls to Typography and Background panels (WordPress/gutenberg#77279)
- Add e2e coverage for pattern wrapper block identity (WordPress/gutenberg#79462)
- Storybook: Include playground stories and MDX in CI smoke tests (WordPress/gutenberg#79454)
- BoxControl: respect a consumer-supplied placeholder via inputProps (WordPress/gutenberg#79466)
- Media Fields: Ensure the current post is always included in the initial options (WordPress/gutenberg#79467)
- Global Styles: Add textShadow style support (WordPress/gutenberg#73320)
- Media Fields: Avoid focus loss when detaching the current parent (WordPress/gutenberg#79468)
- CI: Disallow new dependencies in the root package.json (WordPress/gutenberg#78616)
- Experimental: Preserve editor panel visibility in the DataForm post summary (WordPress/gutenberg#79441)
- Tabs: Pre-stabilization API cleanup and refactoring (WordPress/gutenberg#79337)
- BoxControl: Hard deprecate 40px default size (WordPress/gutenberg#79419)
- Image Block: Remove chained entity record calls (WordPress/gutenberg#79469)
- UI: Use isomorphic layout effects (WordPress/gutenberg#79458)
- Components: add Emotion migration guardrails (WordPress/gutenberg#79442)
- devops: separate histories for different node.js versions (WordPress/gutenberg#79473)
- Components: migrate Divider to SCSS module (WordPress/gutenberg#79444)
- Block Library: unwrap Classic block migration notice experiment (WordPress/gutenberg#78165)
- Editor: Refactor AutosaveMonitor to a function component (WordPress/gutenberg#79043)
- Boot: run page `init` modules in `initSinglePage` (WordPress/gutenberg#79394)
- DataFormPostSummary: fix different `useSelect` returned values  (WordPress/gutenberg#79478)
- Icons: self declare color (WordPress/gutenberg#79320)
- Theme: Document ramp memoization contract (WordPress/gutenberg#79459)
- tools: Restrict layout effect imports in UI and theme (WordPress/gutenberg#79476)
- CI: Avoid full-history checkout for the root-dependencies check (WordPress/gutenberg#79489)
- Simplify playlist track state (WordPress/gutenberg#79448)
- prepend_to_selector: optimized with str_replace() (WordPress/gutenberg#76556)
- Components: migrate Surface to SCSS module (WordPress/gutenberg#79445)
- Docs: Add a widget anatomy doc and lighten the widget system doc (WordPress/gutenberg#79435)
- Media Editor: remove inline cropper (follow-up to WordPress/gutenberg#78653) (WordPress/gutenberg#78654)
- Grid: Add option to stretch columns with auto-fit for better layout flexibility (WordPress/gutenberg#79356)
- Guidelines: Use str_starts_with() in is_block_meta_key() (WordPress/gutenberg#79491)
- Color popover: move contrast warning notice to the bottom (WordPress/gutenberg#79512)
- BorderBoxControl: Hard deprecate 40px default size (WordPress/gutenberg#79420)
- Remove Classic Block conversion from BlockInvalidWarning (WordPress/gutenberg#79500)
- [RTC] Add granular collaboration control (WordPress/gutenberg#79184)
- FontSizePicker: Hard deprecate 40px default size (WordPress/gutenberg#79481)
- React 19: patch to support legacy inert attribute values (WordPress/gutenberg#79475)
- Icons: Add Storybook React Vite dev dependency (WordPress/gutenberg#79506)
- QueryControls: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79485)
- Block editor: use core/registered-block in reducer tests (WordPress/gutenberg#79522)
- UI: Update @base-ui/react to 1.6.0 (WordPress/gutenberg#79408)
- Refactor: Replace strpos with str_starts_with for improved consistency (WordPress/gutenberg#79519)
- Block Library: Remove redundant parentheses around assignments (WordPress/gutenberg#79516)
- Tabs: Focus first tab when adding Tabs block (WordPress/gutenberg#79507)
- ui/IconButton: Restore default tooltip delay (WordPress/gutenberg#79505)
- FocalPointPicker: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79487)
- Components: document CSS module class composition (WordPress/gutenberg#79490)
- BorderControl: Hard deprecate 40px default size (WordPress/gutenberg#79418)
- Components: migrate Truncate to SCSS module (WordPress/gutenberg#79446)
- Show the admin bar in the Post and Site Editor by default (WordPress/gutenberg#79197)
- SearchControl: Complete __next40pxDefaultSize cleanup (WordPress/gutenberg#79538)
- Stylelint: Enforce module class naming in UI packages (WordPress/gutenberg#79504)
- Components: Add missing descriptions for design system components (WordPress/gutenberg#79460)
- LetterSpacingControl: Hard deprecate 40px default size (WordPress/gutenberg#79533)
- Experiments: Move screen under Settings, drop top-level Gutenberg menu and Demo page (WordPress/gutenberg#79456)
- Tabs: Combine and cleanup toolbar controls (WordPress/gutenberg#79537)
- Tabs: Fix dirty editor state on mount caused by tab-list sync (WordPress/gutenberg#79540)
- RTC: fix undo / redo breakage when plug-in with metabox is loaded (WordPress/gutenberg#79510)
- Block Supports: Guard elements hover rendering against missing hover selector (WordPress/gutenberg#79511)
- Commands: add toggle for content-only pattern/template part editing (WordPress/gutenberg#78383)
- Integrate Resizable Editor with Device Preview and add Responsive editing (WordPress/gutenberg#75121)
- Pattern editing: use section block selector for pattern display identity (WordPress/gutenberg#79565)
- Commands: Suggest pattern editing toggle for selected patterns (WordPress/gutenberg#79566)
- Tabs: Select tab panel when caret moves into tab (WordPress/gutenberg#79558)
- Fix unsetting values in viewport states for grid and constrained layouts (WordPress/gutenberg#79520)
- Add layout and block spacing support to Latest Posts block (WordPress/gutenberg#77989)
- Widget inserter: more accurate widget previews (WordPress/gutenberg#79517)
- Tabs: Remove unnecessary callback memoization (WordPress/gutenberg#79567)
- Icons: Add PHP method(s) for rendering inline SVG icons from the registry (WordPress/gutenberg#78332)
- Tab List: Fix render inline formatting on frontend (WordPress/gutenberg#79554)
- Divider: Restore lower border specificity (WordPress/gutenberg#79534)
- Tabs: Remove redundant block selection from Add/Remove tab actions (WordPress/gutenberg#79571)
- Icons: Fix viewBox attribute casing assertion for older WP versions (WordPress/gutenberg#79576)
- Add icon state classes to Accordion block (WordPress/gutenberg#74257)
- Pattern editing: Fade block outside the edited pattern in List View (WordPress/gutenberg#73997)
- Experiments: move long intro to content (WordPress/gutenberg#79578)
- Updating image urls (WordPress/gutenberg#79529)
- `useTypingObserver`: capture the window reference for cleanup (WordPress/gutenberg#78772)
- Tabs: Fix rich text label comparation when syncing the list (WordPress/gutenberg#79582)
- Add `PluginPostStatusInfo` in DataForm post summary (WordPress/gutenberg#79586)
- theme: Protect design tokens CSS import (WordPress/gutenberg#79551)
- TreeSelect: Hard deprecate 40px default size (WordPress/gutenberg#79550)
- Storybook: Scope Docs theme providers (WordPress/gutenberg#79496)
- Base Styles: Reapply wpds-var Sass helper (WordPress/gutenberg#79470)
- Docs: Add image hosting guidance to the documentation contributors guide (WordPress/gutenberg#79574)
- CODEOWNERS: assign widget dashboard areas to @retrofox (WordPress/gutenberg#79484)
- Automated Testing: Use three-dot diff comparison for changelog checks (WordPress/gutenberg#79548)
- Base Styles: disallow direct var(--wpds-*) usage (WordPress/gutenberg#79424)
- Abilities: Support URI schema format (WordPress/gutenberg#79555)
- LineHeightControl: Hard deprecate 40px default size (WordPress/gutenberg#79589)
- Theme: Revert ThemeProvider stable API (WordPress/gutenberg#79594)
- Experimental: Expand DataForm inspector to patterns (WordPress/gutenberg#79452)
- RTC: Fix autosave update with no content (WordPress/gutenberg#79591)
- Icons: Add APIs for collection and icon registration (WordPress/gutenberg#77260)
- TextIndentControl: Remove unnecessary __next40pxDefaultSize prop (WordPress/gutenberg#79597)
- FontFamilyControl: Hard deprecate 40px default size (WordPress/gutenberg#79593)
- Icons Registry test: Fix trigger_error suppression on WP < 7.0 (WordPress/gutenberg#79607)
- Global Styles: Migrate color palette tabs to @wordpress/ui (WordPress/gutenberg#79281)
- Experiments: Shorten the plugin settings page name (WordPress/gutenberg#79579)
- Widget Primitives: Add `WidgetAttributeField` for typed attribute schemas (WordPress/gutenberg#79544)
- Fix - Accordion: Text in a closed accordion panel cannot be found via the browser search (WordPress/gutenberg#74744)
- Icons Registry: Allow digits and underscores in icon slugs (WordPress/gutenberg#79623)
- Knowledge: Rename the Guidelines CPT storage primitive to Knowledge (WordPress/gutenberg#79149)
- Update @terrazzo/* to 2.4.0 and regenerate design tokens (WordPress/gutenberg#79627)
- Tabs: RichText handlers for adding/removing tabs (WordPress/gutenberg#79583)
- Declare @types/node explicitly and harden no-unsafe-wp-apis (WordPress/gutenberg#79626)
- Knowledge: Dissolve the Guidelines singleton into per-scope rows (WordPress/gutenberg#79263)
- Jest: Mock CSS module class names (WordPress/gutenberg#79535)
- React 19 patch: log warnings when polyfills are hit (WordPress/gutenberg#79624)
- Upgrade browserslist to ^4.28.4 (WordPress/gutenberg#79630)
- Dedupe @testing-library/dom to a single 10.4.1 in the lockfile (WordPress/gutenberg#79631)
- Theme: Restore public ThemeProvider export (WordPress/gutenberg#79620)
- Paste: move spaces out of inline formatting elements (WordPress/gutenberg#79637)
- Blocks: Add innerContent support for static inner blocks, adopt it in the HTML block (WordPress/gutenberg#79115)
- Update webpack to 5.108.1 (WordPress/gutenberg#79633)
- RangeControl: Hard deprecate 40px default size (WordPress/gutenberg#79590)
- Animated GIF to video conversion (via mediabunny) plus conversion controls (WordPress/gutenberg#78410)
- Expose widget category through the build pipeline and REST API (WordPress/gutenberg#79638)
- Button: Fix corner artifacts by using background-clip: border-box (WordPress/gutenberg#79524)
- Notes: inline (partial-text) notes via hybrid marker + strip-on-render approach (WordPress/gutenberg#78218)
- balance top padding for sidebar controls (WordPress/gutenberg#79660)
- Guidelines E2E Tests: wait for boot to load copy page (WordPress/gutenberg#79663)
- Media Editor: Use new Tabs component from the ui package, and its minimal variant (WordPress/gutenberg#79664)
- View config: Add better post type default `form` (WordPress/gutenberg#79625)
- Opt in to npm v11 supply-chain security features (WordPress/gutenberg#79614)
- Revert "Opt in to npm v11 supply-chain security features (WordPress/gutenberg#79614)" (WordPress/gutenberg#79667)
- Navigation Link: Fix "[object Object]" in link preview for untitled entities (WordPress/gutenberg#79616)
- Update stylelint to 16.26.1 (WordPress/gutenberg#79648)
- Remove redundant @jest-environment jsdom pragmas from unit tests (WordPress/gutenberg#79672)
- npm dedupe (WordPress/gutenberg#79618)
- E2E: Ban uuid package via ESLint, use crypto.randomUUID() instead (WordPress/gutenberg#79673)
- Jest: Add missing clsx dev dependency (WordPress/gutenberg#79677)
- Style Engine: Preserve important gradient declarations (WordPress/gutenberg#79568)
- Widget Dashboard: Refactor tile header and toolbar chrome (WordPress/gutenberg#79639)
- Widget Dashboard: Anchor settings drawer to the right and toggle it from the gear (WordPress/gutenberg#79683)
- Declare undeclared workspace dependencies (WordPress/gutenberg#79684)
- Move icon tests out of phpunit/experimental (WordPress/gutenberg#79695)
- WP Build: improve documentation for routes (WordPress/gutenberg#79688)
- Packages: Backport UI and theme release changelogs (WordPress/gutenberg#79690)
- Bump preactjs/compressed-size-action (WordPress/gutenberg#79587)
- Bump js-yaml from 3.14.2 to 3.15.0 (WordPress/gutenberg#79644)
- FontAppearanceControl: Hard deprecate 40px default size (WordPress/gutenberg#79635)
- Bump actions/cache from 5.0.5 to 6.1.0 in /.github/setup-node (WordPress/gutenberg#79692)
- Bump actions/cache from 5.0.5 to 6.1.0 in /.github/workflows (WordPress/gutenberg#79693)
- Bump actions/checkout from 6.0.3 to 7.0.0 in /.github/workflows (WordPress/gutenberg#79488)
- Editor: Move focus to revisions slider when entering revisions mode (WordPress/gutenberg#79691)
- Packages: Backport package release metadata (WordPress/gutenberg#79702)
- Update: simplify inline-note marker stripping to match core backport (WordPress/gutenberg#79670)
- Add an e2e test for single paragraph selection on triple click (WordPress/gutenberg#79706)
- ComboboxControl: Hard deprecate 40px default size (WordPress/gutenberg#79636)
- FormFileUpload: Hard deprecate 40px default size (WordPress/gutenberg#79655)
- Automated Testing: Enforce dependencies checks consistently for development files (WordPress/gutenberg#79703)
- Base Styles: Make Sass token fallbacks self-contained (WordPress/gutenberg#79651)
- Radio: Hard deprecate 40px default size (WordPress/gutenberg#79657)
- ToggleGroupControl: Hard deprecate 40px default size (WordPress/gutenberg#79656)
- Heading: Fix ESLint warnings (WordPress/gutenberg#79694)
- Media Inserter: Add a simple Attached images category with attach and detach behaviour (WordPress/gutenberg#79336)
- Upgrade Playwright to v1.61 (WordPress/gutenberg#78632)
- Icons: Add an icon collections REST endpoint and tighten name rules (WordPress/gutenberg#79686)
- Experimental Media Modal: Ensure selection is properly cleared between open/close (WordPress/gutenberg#79731)
- Image: Use Playwright's locator.drop for media placeholder drop test (WordPress/gutenberg#79733)
- Add repeat all icon (WordPress/gutenberg#79698)
- Widgets: translate `title`, `description`, and `keywords` server-side (WordPress/gutenberg#79701)
- Build: Support --skip-types in npm run dev (WordPress/gutenberg#79736)
- Release: Revert to 23.5rc-3 (WordPress/gutenberg#79741)
- Render the selected static inner block synchronously (WordPress/gutenberg#79726)
- Revert "Bump plugin version to 23.5.0" (WordPress/gutenberg#79744)
- Build: Replace unmaintained release actions (WordPress/gutenberg#78258)
- Build: Use GUTENBERG_TOKEN when creating the release draft (WordPress/gutenberg#79747)
- CI: Enforce pruned ESLint suppressions during lint (WordPress/gutenberg#79708)
- Revert "Bump plugin version to 23.5.0" (WordPress/gutenberg#79750)

Props desrosj, wildworks.
Fixes #65589.
Built from https://develop.svn.wordpress.org/trunk@62738


git-svn-id: http://core.svn.wordpress.org/trunk@62022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
MaggieCabrera added a commit that referenced this pull request Sep 4, 2026
An element was previewed as a letter specimen built from a handful of
properties copied across by hand, so it could not react to the border,
shadow, spacing or background controls elements now have.

Each element is previewed instead as a sample of the markup its selector
applies to, rendered in the editor iframe with the generated stylesheet.
The sample picks up the cascade, the theme's fonts and every panel without
a list of properties to keep in sync.

Text color and background color are left to the Typography and Background
panels, where they were relocated in #77279, rather than shown a second
time in a Colors panel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
MaggieCabrera added a commit that referenced this pull request Sep 15, 2026
An element was previewed as a letter specimen built from a handful of
properties copied across by hand, so it could not react to the border,
shadow, spacing or background controls elements now have.

Each element is previewed instead as a sample of the markup its selector
applies to, rendered in the editor iframe with the generated stylesheet.
The sample picks up the cascade, the theme's fonts and every panel without
a list of properties to keep in sync.

Text color and background color are left to the Typography and Background
panels, where they were relocated in #77279, rather than shown a second
time in a Colors panel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
MaggieCabrera added a commit that referenced this pull request Sep 15, 2026
An element was previewed as a letter specimen built from a handful of
properties copied across by hand, so it could not react to the border,
shadow, spacing or background controls elements now have.

Each element is previewed instead as a sample of the markup its selector
applies to, rendered in the editor iframe with the generated stylesheet.
The sample picks up the cascade, the theme's fonts and every panel without
a list of properties to keep in sync.

Text color and background color are left to the Typography and Background
panels, where they were relocated in #77279, rather than shown a second
time in a Colors panel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
MaggieCabrera added a commit that referenced this pull request Sep 29, 2026
An element was previewed as a letter specimen built from a handful of
properties copied across by hand, so it could not react to the border,
shadow, spacing or background controls elements now have.

Each element is previewed instead as a sample of the markup its selector
applies to, rendered in the editor iframe with the generated stylesheet.
The sample picks up the cascade, the theme's fonts and every panel without
a list of properties to keep in sync.

Text color and background color are left to the Typography and Background
panels, where they were relocated in #77279, rather than shown a second
time in a Colors panel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
MaggieCabrera added a commit that referenced this pull request Oct 14, 2026
An element was previewed as a letter specimen built from a handful of
properties copied across by hand, so it could not react to the border,
shadow, spacing or background controls elements now have.

Each element is previewed instead as a sample of the markup its selector
applies to, rendered in the editor iframe with the generated stylesheet.
The sample picks up the cascade, the theme's fonts and every panel without
a list of properties to keep in sync.

Text color and background color are left to the Typography and Background
panels, where they were relocated in #77279, rather than shown a second
time in a Colors panel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
MaggieCabrera added a commit that referenced this pull request Oct 19, 2026
An element was previewed as a letter specimen built from a handful of
properties copied across by hand, so it could not react to the border,
shadow, spacing or background controls elements now have.

Each element is previewed instead as a sample of the markup its selector
applies to, rendered in the editor iframe with the generated stylesheet.
The sample picks up the cascade, the theme's fonts and every panel without
a list of properties to keep in sync.

Text color and background color are left to the Typography and Background
panels, where they were relocated in #77279, rather than shown a second
time in a Colors panel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
MaggieCabrera added a commit that referenced this pull request Oct 19, 2026
An element was previewed as a letter specimen built from a handful of
properties copied across by hand, so it could not react to the border,
shadow, spacing or background controls elements now have.

Each element is previewed instead as a sample of the markup its selector
applies to, rendered in the editor iframe with the generated stylesheet.
The sample picks up the cascade, the theme's fonts and every panel without
a list of properties to keep in sync.

Text color and background color are left to the Typography and Background
panels, where they were relocated in #77279, rather than shown a second
time in a Colors panel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
MaggieCabrera added a commit that referenced this pull request Oct 19, 2026
* Global Styles: Add Forms section

* Global Styles: Add Elements section

* Global Styles: Give elements their own home and the full control set

Blocks and elements are listed together under one item in the main Styles
menu, so there is a single place to style anything on the site. Inputs,
selects and buttons are grouped under Form controls.

Elements now offer the background, spacing, border, shadow and custom CSS
controls that theme.json already accepts and the styles engine already
emits, instead of typography and colour alone. Sizing, block gap, text
alignment and duotone stay out: the first three belong to the block that
contains an element, and the engine emits nothing for the last two.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Global Styles: Preview elements with the site's own styles

An element was previewed as a letter specimen built from a handful of
properties copied across by hand, so it could not react to the border,
shadow, spacing or background controls elements now have.

Each element is previewed instead as a sample of the markup its selector
applies to, rendered in the editor iframe with the generated stylesheet.
The sample picks up the cascade, the theme's fonts and every panel without
a list of properties to keep in sync.

Text color and background color are left to the Typography and Background
panels, where they were relocated in #77279, rather than shown a second
time in a Colors panel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Global Styles: List elements in one flat list with blocks

Elements sit in the same list as blocks under Elements, Headings and Form
controls subheadings, with no drilldowns between them, so everything that
can be styled is one screen away and easy to find alongside blocks. Each
heading level is its own row, and the button element is labelled to tell
it apart from the Button block further down the list.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Global Styles: Resolve an element's styles once per screen

The typography panel had its own wrapper that read the element's styles and
settings a second time, separately from the panels beside it. One component
now resolves them and renders every panel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Global Styles: Share border handling and the CSS capability check

The block and element screens each carried their own copy of the border
reconciliation and of the check for whether custom CSS may be edited. Both
now use one shared version.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Global Styles: Restore the Text and All headings entries and fix CI

Bring back the root Text screen under Typography, which the style
variations tests depend on, and list "All headings" at the top of the
Headings group so the shared `elements.heading` node themes style can
still be edited. Update the unit expectations for the widened element
supports, the e2e labels for the renamed "Blocks & Elements" screen,
and add the PR links the changelog check requires.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Global Styles: Reformat for the wp-prettier upgrade on trunk

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* Icons: Move the formInput changelog entry to Unreleased

The rebase left the entry under the published 17.0.0 section, which
fails the changelog checks. Also restore the formatting of an older
entry the branch had touched without reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Mention elements in the Blocks & Elements description

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Blocks: Keep text alignment for elements in Global Styles

Text alignment was added to elements in #73854, and the element
screens should keep offering it alongside the new panels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Offer states on the link and button element screens

Moving the element colors out of the Colors screen dropped the only
control for link hover color. The link and button element screens
now offer the states the package already defines for them, and follow
the setting that turns off state editing for blocks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Show the default background size on element screens

An element's background image with no size renders with cover, as a
block's does, so the element screens now show the same defaults as
the block screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Use one route for the element screens

The block list's elements now open through a single path with the
element name as a parameter, instead of one route per element.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Share element titles between the list and their screens

The Blocks & Elements list now reads each element's label from the
element screen's table, so the two cannot drift apart. The Button
element's screen is titled "Button (element)" to match its row and
tell it apart from the Button block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Restore trunk's formatting of a media query

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Drop the deprecated spacer from the element screen

The preview's own class now sets its side margin, and no longer
shrinks inside the screen's scrolling flex column. This removes the
element screen's use-recommended-components suppression.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Keep trunk's Text row under Typography

Restore trunk's Typography element list with only the Text row, instead
of rebuilding it inline. The row keeps its sample in the site's font,
and the other elements stay in the Blocks & Elements list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Move this PR's changelog entries back under Unreleased

Trunk published new releases, so the rebase left the entries under
published versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Drop the custom styles dot from element rows

Trunk removed the dot from block rows in #84657. Element rows follow,
and the customized filter keeps working for both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Keep the border helper in the block screen

Trunk's fallback helpers stay where they were, and the border
handling the element screen shares becomes an exported function next
to them, instead of a new file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Inline the customized check for elements

The element list calls the existing value check directly instead of
a separate exported wrapper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Check that searching lists matching elements

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Style Book: Show the Text category on element screens

Element screens moved under the Blocks & Elements path, so the Style
Book showed every block for them instead of the Text category it
showed when they lived under Typography.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: Match element names and group titles in search

Searching "h1" now finds Heading 1, and "form" lists the form
controls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fix the formatting of the heading styles end-to-end test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Update the ESLint suppressions after rebasing on trunk

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Blocks: Leave the layout widths out of element styles

Elements started from the root supports, so they kept contentSize and
wideSize. The element screen never renders the width controls, but the
Dimensions panel still counted them and showed up empty on themes that
set layout widths without padding or margin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Global Styles: List elements without icons

Whether elements need icons is still open in #84074, so start without
them and drop the formInput icon this PR added to @wordpress/icons.
Also restore the icons changelog line this PR reformatted by accident.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Update packages/editor/src/components/global-styles/block-link.js

Co-authored-by: Sarah Norris <1645628+mikachan@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Sarah Norris <1645628+mikachan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Package] Block editor /packages/block-editor [Package] E2E Tests /packages/e2e-tests [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants