[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
Mon Feb 19 13:31:13 UTC 2024


#59922: Twenty Nineteen is using CSS selectors that are no longer used in the
editor
-------------------------------------+-----------------------------
 Reporter:  poena                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  6.5
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  css
-------------------------------------+-----------------------------

Comment (by poena):

 == Button block

 The button block hover, active and focus colors are not working in the
 editor before or after 5.8, I'm not sure that they ever worked.

 The {{{:hover}}} etc is on the wrong element.

 {{{
 .editor-styles-wrapper .wp-block .wp-block-button.is-style-outline:hover
 .wp-block-button__link:not(.has-text-color),
 }}}
 Should be:

 {{{
 .editor-styles-wrapper .wp-block .wp-block-button.is-style-outline .wp-
 block-button__link:not(.has-text-color):hover,
 }}}


 Even if they would work, the editor and front would not match.
 I believe the intention is for the color to change to {{{#111}}}.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59922#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list