[wp-trac] [WordPress Trac] #59602: Twenty Fifteen: Table block having issue with font-size in editor side.

WordPress Trac noreply at wordpress.org
Mon Jun 3 08:39:37 UTC 2024


#59602: Twenty Fifteen: Table block having issue with font-size in editor side.
-------------------------------------+---------------------
 Reporter:  nidhidhandhukiya         |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.6
Component:  Bundled Theme            |     Version:  6.3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by poena):

 Unfortunately, there is a bug with the font size control in
 6.6-alpha-57778-src, unrelated to this patch.
 So I could only test it on WordPress 6.5.3 on top of theme version 3.7.

 I tested
 https://core.trac.wordpress.org/attachment/ticket/59602/59602.diff
 I was not able to apply the patch using the {{{grunt:patch}}} command. I
 needed to download the file and use {{{git apply.}}}

 The table header, table footer, and table cell font sizes updates
 correctly when the font size option is changed.

 But there needs to be a decision about the table caption.
 **Without the patch:**
 - The table caption in the editor is 13px.
 - The table caption on the front is 16px.
 - In both the editor and front, the caption is smaller than the table text
 size.

 When you change the table block font size option:
 - The table caption in the editor is 13px.
 - The table caption on the front is 16px.

 **With the patch:**
 - The table caption in the editor is 13px.
 - The table caption on the front is 16px.
 - In both the editor and front, the caption is smaller than the table text
 size.

 When you change the table block font size option:
 - The table caption in the editor is the same size as the rest of the
 table text.
 - The table caption on the front is 16px.


 I believe the intention is for the caption to be smaller than the rest of
 the table text.
 It is difficult to know what the user expects, but I think the size of the
 caption should change in proportion to the table text?
 And ideally, all captions in a theme should have the same sizes.

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


More information about the wp-trac mailing list