[wp-trac] [WordPress Trac] #59922: Twenty Nineteen is using CSS selectors that are no longer used in the editor
WordPress Trac
noreply at wordpress.org
Fri Nov 17 12:55:34 UTC 2023
#59922: Twenty Nineteen is using CSS selectors that are no longer used in the
editor
---------------------------+--------------------
Reporter: poena | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5
Component: Bundled Theme | Version:
Severity: normal | Keywords:
Focuses: css |
---------------------------+--------------------
Twenty Nineteen has a feature where users can change the primary color in
the Customizer.
When the primary color is changed,
[https://core.trac.wordpress.org/browser/trunk/src/wp-
content/themes/twentynineteen/inc/color-patterns.php there is a number of
elements and design features that should change color].
This works on the front of the website, but it has stopped working inside
the block editor.
The selectors for the editor styles starts with
{{{
.editor-block-list__layout .editor-block-list__block
}}}
See https://core.trac.wordpress.org/browser/trunk/src/wp-
content/themes/twentynineteen/inc/color-patterns.php#L209
And this class {{{.editor-block-list__block}}} was removed in WordPress
version 5.4. It needs to be replaced with a selector that works today
**and is backwards compatible.**
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59922>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list