Make WordPress Core

Opened 3 months ago

Last modified 2 months ago

#60284 new enhancement

Add defaultFontSizes option to theme.json

Reported by: ajlende's profile 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 (4)

This ticket was mentioned in PR #5896 on WordPress/wordpress-develop by @ajlende.


3 months ago
#1

  • Keywords has-patch added

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 is true.

Trac ticket: https://core.trac.wordpress.org/ticket/60284

@youknowriad commented on PR #5896:


3 months ago
#2

Looks like there's some failing unit tests, can we fix these?

@youknowriad commented on PR #5896:


2 months ago
#3

What's the status of this backport @ajlende?

@youknowriad commented on PR #5896:


2 months ago
#4

Closing as this PR has been reverted in Gutenberg.

Note: See TracTickets for help on using tickets.