From 8a4734123ffc9384d4f1fe184d0c5bee35a8e222 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Thu, 19 Aug 2021 10:50:09 -0400 Subject: [PATCH 1/3] Add support for custom border controls. --- tt1-blocks/theme.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tt1-blocks/theme.json b/tt1-blocks/theme.json index 91721c3..14e1e87 100644 --- a/tt1-blocks/theme.json +++ b/tt1-blocks/theme.json @@ -11,6 +11,12 @@ } ], "settings": { + "border": { + "customColor": true, + "customRadius": true, + "customStyle": true, + "customWidth": true + }, "color": { "link": true, "palette": [ From 203ee43174c61968b0d71111b38444aa199fbc7d Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Thu, 19 Aug 2021 10:51:12 -0400 Subject: [PATCH 2/3] Recreate the "Let's Connect' pattern to use the border control. --- tt1-blocks/inc/block-patterns.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tt1-blocks/inc/block-patterns.php b/tt1-blocks/inc/block-patterns.php index 474aef0..c9d8f9b 100644 --- a/tt1-blocks/inc/block-patterns.php +++ b/tt1-blocks/inc/block-patterns.php @@ -44,8 +44,7 @@ 'categories' => array( 'tt1-blocks' ), 'viewportWidth' => 1440, 'description' => esc_html_x( 'A huge text followed by social networks and email address links.', 'Block pattern description', 'tt1-blocks' ), - 'content' => '

', - ) + 'content' => ' ', ) ); // Media & Text Article Title. From 0c25bd4077468d7a40d4dd082ca2d9b8450c5054 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Thu, 19 Aug 2021 13:45:02 -0400 Subject: [PATCH 3/3] =?UTF-8?q?Don't=20define=20the=20border=20settings=20?= =?UTF-8?q?twice.=20=F0=9F=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tt1-blocks/theme.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tt1-blocks/theme.json b/tt1-blocks/theme.json index 14e1e87..4134b35 100644 --- a/tt1-blocks/theme.json +++ b/tt1-blocks/theme.json @@ -11,12 +11,6 @@ } ], "settings": { - "border": { - "customColor": true, - "customRadius": true, - "customStyle": true, - "customWidth": true - }, "color": { "link": true, "palette": [ @@ -339,4 +333,4 @@ "title": "Page without title" } ] -} \ No newline at end of file +}