[wp-trac] [WordPress Trac] #60614: Twenty Twenty-Two: The button block border does not appear on the editor side.
WordPress Trac
noreply at wordpress.org
Fri Mar 15 01:02:54 UTC 2024
#60614: Twenty Twenty-Two: The button block border does not appear on the editor
side.
---------------------------+----------------------
Reporter: viralsampat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses: ui, css
---------------------------+----------------------
Comment (by isabel_brison):
When the editor isn't iframed, core global styles are still prefixed with
`.editor-styles-wrapper`, which increases the specificity relative to the
iframed version and causes the `border: 0` rule here:
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-
includes/theme.json#L308 to override the style variation.
Reverting #60312 didn't make a difference because that change is just for
the server-side; the corresponding JS change went in with all the npm
package updates.
The global specificity reduction in progress in
https://github.com/WordPress/gutenberg/pull/57841 will fix this issue in
the next release; in the meantime I'm not sure what the best temporary
patch should be.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60614#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list