From 56ff47962c7f91ba2f18fe661bff2bd1e89e0c9b Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Sat, 6 Jul 2024 20:10:48 +1000 Subject: [PATCH 1/2] Paragraph: Add border support --- packages/block-library/src/paragraph/block.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/block-library/src/paragraph/block.json b/packages/block-library/src/paragraph/block.json index 6f11baf838a944..a70b9a9df95ac2 100644 --- a/packages/block-library/src/paragraph/block.json +++ b/packages/block-library/src/paragraph/block.json @@ -33,6 +33,18 @@ "splitting": true, "anchor": true, "className": false, + "__experimentalBorder": { + "color": true, + "radius": true, + "style": true, + "width": true, + "__experimentalDefaultControls": { + "color": true, + "radius": true, + "style": true, + "width": true + } + }, "color": { "gradients": true, "link": true, From ffe8ce7bbe09c538d796ee7051061a8a0b0a5c49 Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Thu, 18 Jul 2024 16:07:17 +1000 Subject: [PATCH 2/2] Make paragraph border controls optional --- packages/block-library/src/paragraph/block.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/block-library/src/paragraph/block.json b/packages/block-library/src/paragraph/block.json index a70b9a9df95ac2..f16a7cf0411443 100644 --- a/packages/block-library/src/paragraph/block.json +++ b/packages/block-library/src/paragraph/block.json @@ -37,13 +37,7 @@ "color": true, "radius": true, "style": true, - "width": true, - "__experimentalDefaultControls": { - "color": true, - "radius": true, - "style": true, - "width": true - } + "width": true }, "color": { "gradients": true,