[wp-trac] [WordPress Trac] #60424: Twenty Fifteen: fix Table block's Stripes style (was: Twenty Fifteen Table block having different design in editor and frontend.)

WordPress Trac noreply at wordpress.org
Wed May 1 00:07:49 UTC 2024


#60424: Twenty Fifteen: fix Table block's Stripes style
-------------------------------------+-----------------------------
 Reporter:  nidhidhandhukiya         |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Bundled Theme            |     Version:  6.4.3
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+-----------------------------

Comment (by sabernhardt):

 I did not add a background color because that is an iframe editor issue
 (GB57176). If that would be fixed in individual themes, it would be better
 to assign the background color to `.editor-styles-wrapper` for the whole
 canvas.

 The block styles for Stripes were more specific than the theme's, so I
 added the extra class (and kept the original selectors). The patch also
 removes the bottom border from the block, but only if it is a `figure`
 (the classes were on the `table` in WordPress 5.0 but moved to the
 `figure` by 5.3).

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


More information about the wp-trac mailing list