[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 13:51:38 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         |  Resolution:
 Keywords:                 |     Focuses:  css
---------------------------+---------------------

Comment (by poena):

 I have tested Twenty Nineteen version 2.7 on WordPress 5.1 and 6.4.
 Replacing the start of the selectors with {{{.editor-styles-wrapper}}}
 will not work on 5.1, because it has the same specificity as the themes
 default CSS. But using {{{.editor-styles-wrapper .wp-block}}} works on
 both WordPress versions.

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


More information about the wp-trac mailing list