diff --git a/docs/reference-guides/theme-json-reference/theme-json-living.md b/docs/reference-guides/theme-json-reference/theme-json-living.md index 5565336ffedb7..d9389597b89da 100644 --- a/docs/reference-guides/theme-json-reference/theme-json-living.md +++ b/docs/reference-guides/theme-json-reference/theme-json-living.md @@ -190,7 +190,7 @@ Settings related to typography. | textTransform | boolean | true | | | dropCap | boolean | true | | | fontSizes | array | | fluid, name, size, slug | -| fontFamilies | array | | fontFace, fontFamily, name, preview, slug | +| fontFamilies | array | | fontFace, fontFamily, name, slug | --- diff --git a/lib/class-wp-theme-json-gutenberg.php b/lib/class-wp-theme-json-gutenberg.php index af074c22ead45..e8766611a34bb 100644 --- a/lib/class-wp-theme-json-gutenberg.php +++ b/lib/class-wp-theme-json-gutenberg.php @@ -435,7 +435,6 @@ class WP_Theme_JSON_Gutenberg { 'fontFamily' => null, 'name' => null, 'slug' => null, - 'preview' => null, 'fontFace' => array( array( 'ascentOverride' => null, @@ -451,7 +450,6 @@ class WP_Theme_JSON_Gutenberg { 'sizeAdjust' => null, 'src' => null, 'unicodeRange' => null, - 'preview' => null, ), ), ), diff --git a/schemas/json/theme.json b/schemas/json/theme.json index 7f12e4f709776..38eac461b6b7b 100644 --- a/schemas/json/theme.json +++ b/schemas/json/theme.json @@ -643,10 +643,6 @@ "description": "CSS font-family value.", "type": "string" }, - "preview": { - "description": "URL to a preview image of the font family.", - "type": "string" - }, "fontFace": { "description": "Array of font-face declarations.", "type": "array", @@ -737,10 +733,6 @@ "unicodeRange": { "description": "CSS unicode-range value.", "type": "string" - }, - "preview": { - "description": "URL to a preview image of the font face.", - "type": "string" } }, "required": [ "fontFamily", "src" ],