[wp-trac] [WordPress Trac] #58297: Twenty Seventeen: Table block does not have same design in editor and front. (was: Twenty Seventeen - Table block does not have same design in editor and front.)

WordPress Trac noreply at wordpress.org
Tue May 16 23:18:31 UTC 2023


#58297: Twenty Seventeen: Table block does not have same design in editor and
front.
------------------------------+------------------------------
 Reporter:  nidhidhandhukiya  |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Bundled Theme     |     Version:  5.3
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:  css
------------------------------+------------------------------
Changes (by sabernhardt):

 * focuses:   => css
 * version:  6.2 => 5.3


Comment:

 The border is not missing on the front end; it is a very light gray and
 only on the bottom for each cell. This is part of the theme's design.

 The discrepancy comes from moving the `.wp-block-table` class to the
 figure element in WordPress 5.3, yet this theme still applies the block
 styles to a nonexistent [https://core.trac.wordpress.org/browser/trunk/src
 /wp-content/themes/twentyseventeen/assets/css/editor-
 blocks.css?rev=54139#L662 table element with that class]. Any change
 should be made to the editor stylesheet. On the other hand, having darker
 borders in the editor can make editing the table's content easier.

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


More information about the wp-trac mailing list