[wp-trac] [WordPress Trac] #53454: Widgets screen: blocks should inherit their style from the editor stylesheet provided by the theme

WordPress Trac noreply at wordpress.org
Fri Jun 18 22:21:09 UTC 2021


#53454: Widgets screen: blocks should inherit their style from the editor
stylesheet provided by the theme
--------------------------+-------------------------
 Reporter:  audrasjb      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  5.8
Component:  Widgets       |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  css           |
--------------------------+-------------------------
 At least on Twenty Twenty-One, it looks like all the text blocks inserted
 within the new Widgets screen are using a default `serif` font family.

 It seems to fallback to this CSS rule by default:

 {{{
 .editor-styles-wrapper {
     font-family: serif;
 }
 }}}

 I guess we should inherit all the block editor styling from this Bundled
 theme. But more importantly, we should probably find a way to inherit this
 from the block editor stylesheet if there is already one declared by the
 theme :)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53454>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list