Make WordPress Core

#58489 closed defect (bug) (duplicate)

Twenty Twenty: Font size changes in table not reflected in frontend

Reported by: jyolsna's profile jyolsna Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.2.2
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

In Twenty Twenty Theme when we change the font size in Table block, nothing happens in Editor.

How to Replicate:

  1. Activate the Twenty Twenty theme
  2. Insert table and enter text
  3. Select font size

Attachments (5)

Testing 2020 Theme.mp4 (741.2 KB) - added by jyolsna 16 months ago.
58489.diff (2.8 KB) - added by sarath.ar 16 months ago.
Fix for table font size not changing issue
Screenshot 2023-06-08 at 6.33.07 PM.png (42.5 KB) - added by vivekawsm 16 months ago.
Before patch
Screenshot 2023-06-08 at 6.19.38 PM.png (73.5 KB) - added by vivekawsm 16 months ago.
After patch
58489.2.diff (1.2 KB) - added by sarath.ar 16 months ago.

Download all attachments as: .zip

Change History (11)

@sarath.ar
16 months ago

Fix for table font size not changing issue

#1 @sarath.ar
16 months ago

  • Keywords has-patch added; has-screenshots needs-patch removed

Submitted a patch for the mentioned issue, Thank you

#2 @vivekawsm
16 months ago

I was able to reproduce the issue. Tested the patch and it works fine.

This ticket was mentioned in Slack in #core by jyolsna. View the logs.


16 months ago

#4 follow-up: @mayur8991
16 months ago

Hi

Test report for - https://core.trac.wordpress.org/attachment/ticket/58489/58489.diff

Environment:
WordPress - V6.2.2
Theme - Twenty Twenty
Os: Windows
Browser: Chrome

Expected Result: Table block font size should display as per font size chosen in backend editor

Before Patch:
Backend table block setting - https://prnt.sc/_cTTDRp2pP0x
Frontend - https://prnt.sc/_IkN0OVNCJYU

After Patch:
Backend table block setting - https://prnt.sc/O_4xHTuIBd03
Frontend - https://prnt.sc/OEYs-NHjX9Z4

Thanks!

@sarath.ar
16 months ago

#5 in reply to: ↑ 4 @sarath.ar
16 months ago

Replying to mayur8991:

Hi

Test report for - https://core.trac.wordpress.org/attachment/ticket/58489/58489.diff

Environment:
WordPress - V6.2.2
Theme - Twenty Twenty
Os: Windows
Browser: Chrome

Expected Result: Table block font size should display as per font size chosen in backend editor

Before Patch:
Backend table block setting - https://prnt.sc/_cTTDRp2pP0x
Frontend - https://prnt.sc/_IkN0OVNCJYU

After Patch:
Backend table block setting - https://prnt.sc/O_4xHTuIBd03
Frontend - https://prnt.sc/OEYs-NHjX9Z4

Thanks!

Hi,

A new patch is attached.

Thank you.

#6 @sabernhardt
15 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Summary changed from Twenty Twenty - Font size changes in table not reflected in frontend to Twenty Twenty: Font size changes in table not reflected in frontend

Thanks for the report and patches. This issue is already tracked in #56157.

Note: See TracTickets for help on using tickets.