Opened 11 months ago
Last modified 8 months ago
#60284 new enhancement
Add defaultFontSizes option to theme.json
Reported by: | ajlende | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | has-patch |
Focuses: | Cc: |
Description
Backport changes from Gutenberg to core.
https://github.com/WordPress/gutenberg/pull/56661
Adds a defaultFontSizes
option to disable showing the default font sizes.
When defaultFontSizes === false
the options are removed from the UI.
By default defaultFontSizes
is true
.
Change History (5)
This ticket was mentioned in PR #5896 on WordPress/wordpress-develop by @ajlende.
11 months ago
#1
- Keywords has-patch added
@youknowriad commented on PR #5896:
11 months ago
#2
Looks like there's some failing unit tests, can we fix these?
@youknowriad commented on PR #5896:
10 months ago
#3
What's the status of this backport @ajlende?
@youknowriad commented on PR #5896:
10 months ago
#4
Closing as this PR has been reverted in Gutenberg.
Note: See
TracTickets for help on using
tickets.
Backport WordPress/gutenberg#56661.
Adds a
defaultFontSizes
option to disable showing the default font sizes.When
defaultFontSizes === false
the options are removed from the UI.By default
defaultFontSizes
istrue
.Trac ticket: https://core.trac.wordpress.org/ticket/60284