From 0d429567ced03fbcf77f961124114cedff7b2e56 Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Mon, 8 Mar 2021 11:46:39 +0000 Subject: [PATCH 1/2] Site Title: Add text decoration and text transform controls --- docs/designers-developers/developers/themes/theme-json.md | 2 +- packages/block-library/src/site-title/block.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/designers-developers/developers/themes/theme-json.md b/docs/designers-developers/developers/themes/theme-json.md index 91f1ee87ea266b..81f8a88e63636d 100644 --- a/docs/designers-developers/developers/themes/theme-json.md +++ b/docs/designers-developers/developers/themes/theme-json.md @@ -467,7 +467,7 @@ These are the current typography properties supported by blocks: | Post Title | Yes | Yes | - | - | Yes | - | - | | Preformatted | - | Yes | - | - | - | - | - | | Site Tagline | Yes | Yes | - | - | Yes | - | - | -| Site Title | Yes | Yes | - | - | Yes | - | - | +| Site Title | Yes | Yes | - | - | Yes | Yes | Yes | | Verse | Yes | Yes | - | - | - | - | - | [1] The heading block represents 6 distinct HTML elements: H1-H6. It comes with selectors to target each individual element (ex: core/heading/h1 for H1, etc). diff --git a/packages/block-library/src/site-title/block.json b/packages/block-library/src/site-title/block.json index 6a6cf63cb4dff2..7e3ceefeb3022e 100644 --- a/packages/block-library/src/site-title/block.json +++ b/packages/block-library/src/site-title/block.json @@ -19,6 +19,8 @@ }, "fontSize": true, "lineHeight": true, - "__experimentalFontFamily": true + "__experimentalTextDecoration": true, + "__experimentalFontFamily": true, + "__experimentalTextTransform": true } } From ccb6192c24cf5a6f5b4502f59c42efa5cd8a6bdb Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Mon, 8 Mar 2021 12:56:16 +0000 Subject: [PATCH 2/2] Remove text decoration --- docs/designers-developers/developers/themes/theme-json.md | 2 +- packages/block-library/src/site-title/block.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/designers-developers/developers/themes/theme-json.md b/docs/designers-developers/developers/themes/theme-json.md index 81f8a88e63636d..74831234b7f547 100644 --- a/docs/designers-developers/developers/themes/theme-json.md +++ b/docs/designers-developers/developers/themes/theme-json.md @@ -467,7 +467,7 @@ These are the current typography properties supported by blocks: | Post Title | Yes | Yes | - | - | Yes | - | - | | Preformatted | - | Yes | - | - | - | - | - | | Site Tagline | Yes | Yes | - | - | Yes | - | - | -| Site Title | Yes | Yes | - | - | Yes | Yes | Yes | +| Site Title | Yes | Yes | - | - | Yes | - | Yes | | Verse | Yes | Yes | - | - | - | - | - | [1] The heading block represents 6 distinct HTML elements: H1-H6. It comes with selectors to target each individual element (ex: core/heading/h1 for H1, etc). diff --git a/packages/block-library/src/site-title/block.json b/packages/block-library/src/site-title/block.json index 7e3ceefeb3022e..91c346cac52fc0 100644 --- a/packages/block-library/src/site-title/block.json +++ b/packages/block-library/src/site-title/block.json @@ -19,7 +19,6 @@ }, "fontSize": true, "lineHeight": true, - "__experimentalTextDecoration": true, "__experimentalFontFamily": true, "__experimentalTextTransform": true }