[wp-trac] [WordPress Trac] #53389: Bundled Themes: Add styling for blocks added in 5.8

WordPress Trac noreply at wordpress.org
Mon Jun 14 09:05:44 UTC 2021


#53389: Bundled Themes: Add styling for blocks added in 5.8
---------------------------+---------------------
 Reporter:  desrosj        |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.8
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+---------------------

Comment (by Joen):

 Hey @desrosj, I'd like to help out with this if I can, to debug and see
 what the issue is, and push any block fixes if there are any, or help
 triage TT1 or other theme issues there alternatively.

 I'm having some trouble entirely reproducing your screenshot. Best I can
 tell it includes a query loop in the editor, but I haven't been able to
 reproduce the full-wide thing. Can you list which blocks are problematic,
 and how? Perhaps share some demo content?

 From a quick glance, the biggest issue that stood out to me was the
 separator block seemingly collapsing on the frontend. That appears to be a
 TT1 issue as can be seen here: https://cloudup.com/cB7CbBnAONt —
 specifically that the following block spacing rule is output in the
 editor, with no equivalent on the frontend:

 {{{
 .editor-styles-wrapper [data-block] {
     margin-top: var(--global--spacing-vertical);
     margin-bottom: var(--global--spacing-vertical);
 }
 }}}

 I'll look for existing TT1 tickets to see if one already exists, and will
 create one otherwise.

 In any case, let me know if I can help in any way, would be happy to.

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


More information about the wp-trac mailing list