[wp-trac] [WordPress Trac] #56462: Twenty Eleven: Table thead color not reflected in editor and front side

WordPress Trac noreply at wordpress.org
Thu Sep 15 05:40:51 UTC 2022


#56462: Twenty Eleven: Table thead color not reflected in editor and front side
---------------------------------------+----------------------
 Reporter:  umesh84                    |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  6.1
Component:  Bundled Theme              |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  ui, css
---------------------------------------+----------------------
Changes (by sabernhardt):

 * keywords:  has-patch reporter-feedback => has-patch has-screenshots


Comment:

 Some people may prefer the gray text for header cells when they select a
 text color for the data cells, though matching header and body cell colors
 may be the better choice (especially if the table has a background color).
 When users do not select their own text color, the header cells should
 remain gray.

 In the editor, the `.editor-block-list__block` class became `.block-
 editor-block-list__block` several releases ago. I like the proposal to use
 `.editor-styles-wrapper` instead. The cell padding should not have been
 zero anyway, so I fixed the values in the editor and mirrored them for RTL
 on the front end as well.

 Taking it further beyond the original scope, [attachment:"56462.2.patch"]
 includes editor styles for the caption and the border below it. The `wp-
 block-` class is no longer first in the classes list.

 (If you're wondering about some English text strings in the Hebrew
 screenshots, the Gutenberg ''plugin'' is not fully translated.)

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


More information about the wp-trac mailing list