Opened 7 months ago
Last modified 7 months ago
#58297 new defect (bug)
Twenty Seventeen: Table block does not have same design in editor and front.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | Bundled Theme | Keywords: | |
Focuses: | css | Cc: |
Description
Steps to reproduce the issue :-
- Activate Twenty Seventeen Theme.
- Choose Table block.
- Add some text.
- Check that table in editor side and user side both.
In editor side we have the border and when you check front side that border is missing.
I have attached video for better understanding.
Video URL :- https://share.cleanshot.com/JCmf3Y5bv6TZ1FXzMc5m
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
The border is not missing on the front end; it is a very light gray and only on the bottom for each cell. This is part of the theme's design.
The discrepancy comes from moving the
.wp-block-table
class to the figure element in WordPress 5.3, yet this theme still applies the block styles to a nonexistent table element with that class. Any change should be made to the editor stylesheet. On the other hand, having darker borders in the editor can make editing the table's content easier.