-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank Canvas Blocks: Add table styles #3503
Conversation
}, | ||
"table": { | ||
"typography": { | ||
"fontSize": "var(--wp--preset--font-size--tiny)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this declaration live directly under "styles" -> "core/table" now that we've decoupled block supports and theme.json for supported style attributes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I don't think so because in this case it is being mapped to the caption, not the table itself. Maybe the format of the theme.json should better represent that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, images and such keep that in a sub-object. Makes sense to do that here as well I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. Done in 6b8b6dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Changes proposed in this Pull Request:
This adds CSS to match the frontend to the editor for tables
Related issue(s):
#3413
Editor:
Frontend: