Make WordPress Core

Opened 23 months ago

Closed 4 days ago

#55963 closed defect (bug) (worksforme)

fontFace not in json schema

Reported by: wprediscovered's profile wprediscovered Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.0
Component: Editor Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

I validate my theme.json using the json schema, as recommended in the manual:

I started using the recent fontFace property to add my fonts via the theme.json. Now the validation fails, because the current schema doesn't include the fontFace property: Neither does the Gutenberg schema:

It seems the schema update was never part of the Gutenberg PR and thus not of the Core backport: [53282]

An update to the json schema is needed to reflect the changed interface.

Change History (3)

#1 @SergeyBiryukov
23 months ago

  • Component changed from General to Themes
  • Description modified (diff)

#3 @poena
4 days ago

  • Component changed from Themes to Editor
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed


I am going to close this as fixed, since the fontFace is part of the schema now.
Thank you for the report.

Note: See TracTickets for help on using tickets.