Make WordPress Core

Opened 4 weeks ago

Last modified 3 days ago

#65239 reopened enhancement

Add support for style states on block instances

Reported by: isabel_brison's profile isabel_brison Owned by: isabel_brison's profile isabel_brison
Milestone: 7.1 Priority: normal
Severity: normal Version:
Component: Editor Keywords: gutenberg-merge has-patch
Focuses: Cc:

Description

https://github.com/WordPress/gutenberg/pull/76491 adds a new "states" block support, intended to allow styling pseudo states, custom block states such as "current menu item" and specific viewport sizes. This needs adding to core.

Change History (8)

This ticket was mentioned in PR #11828 on WordPress/wordpress-develop by @isabel_brison.


4 weeks ago
#1

  • Keywords has-patch added

Trac ticket: https://core.trac.wordpress.org/ticket/65239

## Use of AI Tools

#2 @audrasjb
4 weeks ago

Removing trunk version as this is not going to be shipped with WP 7.0 but in the next releases.

#3 @desrosj
3 weeks ago

  • Version trunk deleted

Since this is an enhancement, there's no first version of WordPress this can be reproduced in. Removing trunk version.

@isabel_brison commented on PR #11828:


10 days ago
#4

@andrewserong regarding the missing tests, I did omit some that were expecting button width migration changes to already be in place. Those should be added in #12046, so once that one is committed we can add a few more tests if needed.

@andrewserong commented on PR #11828:


10 days ago
#5

Ah, perfect. Thanks for clarifying!

#6 @isabel_brison
10 days ago

  • Owner set to isabel_brison
  • Resolution set to fixed
  • Status changed from new to closed

In 62453:

Editor: add support for style states on block instances.

Adds a "states" block support that allows styling pseudo states and viewport sizes.

Props isabel_brison, andrewserong, ramonopoly, audrasjb, desrosj.
Fixes #65239.

@aaronrobertshaw commented on PR #11828:


10 days ago
#7

Just a quick note that this will mean the background gradient vs color bug introduced in https://github.com/WordPress/gutenberg/pull/76491 will still need a follow-up in core too.

#8 @isabel_brison
3 days ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening to add a related bug fix (see https://github.com/WordPress/gutenberg/pull/78992)

Note: See TracTickets for help on using tickets.