#58074 closed defect (bug) (fixed)
Twenty Twelve: Table block font size not changing in editor or front-end
Reported by: | sheulyshila | Owned by: | karmatosed |
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | 6.2 |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | css | Cc: |
Description (last modified by )
Steps to reproduce the issue:
- Activate Twenty Twelve Theme.
- Choose table block.
- Apply font size to table block (preset or custom).
- Now see the setting does not change the font size in the editor or on the front.
I have attached video for better understanding.
video url:
https://drive.google.com/file/d/1ILmauVB7mje5PsxmtLfIPxypwXzwIjZN/view?usp=sharing
Attachments (4)
Change History (13)
@
19 months ago
when a user selects a different font size for the table block, any child element inherits that size
#2
@
19 months ago
- Description modified (diff)
- Summary changed from Twenty Twelve Theme Table font size not changing in editor and front-end part to Twenty Twelve: Table block font size not changing in editor or front-end
This is tricky because the regular table styles need to stay the same for anyone who likes the standard font sizes for th
and td
cells. Patches related to block features also should not change tables created in the Classic Editor.
58074.1.diff uses the universal selector for any child element. If listing individual elements would be better, then the table
, th
and td
elements all need to inherit the block style.
#4
@
18 months ago
I also faced this in the Twenty Twelve and Twenty Ten theme table block font size issue on the editor side. I think this issue needs to be fixed.
Screenshot: https://prnt.sc/KI9g7zCbs_4U
#5
@
7 months ago
- Keywords commit added
@iamfarhan09 if you have experienced this also in Twenty Ten please open a ticket to report that as this ticket is focusing on one specific theme. Then we can fix that one also, thank you.
I can confirm I am also experiencing this in Twenty Twelve and that the patch does fix it from @sabernhardt. Thank you everyone for your collaboration here. I do agree it is tricky, but in this case I think the latest patch is the best balance for this theme.
I will add the commit keyword to reflect that.
#6
@
7 months ago
- Owner set to karmatosed
- Resolution set to fixed
- Status changed from new to closed
In 57897:
#7
@
7 months ago
I have committed this as a best case for now. I think there are improvements to be done in the way we handle blocks and specifically the font and color changing, for now though we are a little catching things one by one and finding the best path through it. Thank you everyone for the collaboration in doing this.
#9
@
7 months ago
Hello @karmatosed ,
I've already submitted the ticket for the issue you mentioned. You can track its progress at the following link: https://core.trac.wordpress.org/ticket/58362
Thank You.
After applying this solution the issue is resolved.