Make WordPress Core

Opened 11 months ago

Last modified 10 days ago

#58355 new defect (bug)

Twenty Sixteen: Table block does not show selected font size in editor

Reported by: nidhidhandhukiya's profile nidhidhandhukiya Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.2.1
Component: Bundled Theme Keywords: has-patch
Focuses: css Cc:

Description

Steps to reproduce the issue :-

  1. Activate Twenty Sixteen Theme.
  2. Choose Table block.
  3. Add some text in table.
  4. Now change the font size and check it both the side editor and user side.

You can able to see the change in front side but the editor side have no change even after applying the different style of font size.

I have attached video for better understanding.
Video URL:- https://share.cleanshot.com/7N69syB5q6GJX41f5WfS

Attachments (2)

58355.patch (444 bytes) - added by nidhidhandhukiya 11 months ago.
58355.diff (606 bytes) - added by shailu25 10 days ago.
Patch Updated

Download all attachments as: .zip

Change History (10)

#1 @sheulyshila
11 months ago

I also faced this in Twenty Sixteen theme table block font size issue on editor side. I think this issue need to be fixed.
Video url:https://drive.google.com/file/d/1oJRJ_BHBydJmHbxQ7qSxyGAV-LXrzWGQ/view

Last edited 11 months ago by sheulyshila (previous) (diff)

#2 @iamfarhan09
11 months ago

  • Keywords has-patch added

#3 @bijit027
11 months ago

I am currently using twenty-fifteen themes and here I also faced the same issue. I think many themes have similar issues.
here is the video link: https://drive.google.com/file/d/1wgE8umFUKzidPu4MZK-rsorCCrOmnf0E/view?usp=share_link

PHP version: 8.1.13
WordPress: 6.2.1

#4 @jannathsyeda
11 months ago

Thank You @nidhidhandhukiya for this patch file. I've tasted your patch (in Twenty Sixteen theme) and now it's working perfectly from my side.

#5 @pooja1210
11 months ago

Hi,

Test report for - https://core.trac.wordpress.org/attachment/ticket/58355/58355.patch

Environment:
WordPress: v.6.2.2
Theme: Twenty Sixteen
Os: Mac
Browser: Chrome

Expected Result: The font should be visible and rendered in the editor ☑️

Screenshots:
Before: https://prnt.sc/qI1f7clq_Dw1
After: https://prnt.sc/vmOL_6XqWB3R

Thanks!

#6 @sabernhardt
9 months ago

  • Focuses css added
  • Keywords changes-requested added
  • Summary changed from Twenty Sixteen - Table block having issue with font color on editor side. to Twenty Sixteen: Table block does not show selected font size in editor

The same change needs to be made for header cells (th).

#7 @sabernhardt
9 months ago

#58747 was marked as a duplicate.

@shailu25
10 days ago

Patch Updated

#8 @shailu25
10 days ago

  • Keywords changes-requested removed

Updated Patch as per suggested in above comment.

Note: See TracTickets for help on using tickets.