Make WordPress Core

Opened 17 months ago

Closed 5 months ago

#60284 closed enhancement (maybelater)

Add defaultFontSizes option to theme.json

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

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


17 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:


17 months ago
#2

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

@youknowriad commented on PR #5896:


16 months ago
#3

What's the status of this backport @ajlende?

@youknowriad commented on PR #5896:


16 months ago
#4

Closing as this PR has been reverted in Gutenberg.

#5 @poena
14 months ago

Hi, if the Gutenberg change was reverted, should this ticket be closed?
If it should be kept open for a future backport, should it not be moved to the 6.5 milestone?

#6 @poena
5 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.