From 54532880e171460f67d390b2a46aab8a9ad4eb65 Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Mon, 11 Jan 2021 14:55:34 +1000 Subject: [PATCH] Group Block: Add border radius (#27665) * Add border radius to group block * Update theme-json docs for group border radius --- docs/designers-developers/developers/themes/theme-json.md | 6 ++++++ packages/block-library/src/group/block.json | 3 +++ 2 files changed, 9 insertions(+) diff --git a/docs/designers-developers/developers/themes/theme-json.md b/docs/designers-developers/developers/themes/theme-json.md index d46acdb4c5a097..223da07cb7e0c3 100644 --- a/docs/designers-developers/developers/themes/theme-json.md +++ b/docs/designers-developers/developers/themes/theme-json.md @@ -317,6 +317,12 @@ h4 { } ``` +#### Border Properties + +| Context | Radius | +| --- | --- | +| Group | Yes | + #### Color Properties These are the current color properties supported by blocks: diff --git a/packages/block-library/src/group/block.json b/packages/block-library/src/group/block.json index e0be130edc00a6..0b4a52414fc7ed 100644 --- a/packages/block-library/src/group/block.json +++ b/packages/block-library/src/group/block.json @@ -24,6 +24,9 @@ }, "spacing": { "padding": true + }, + "__experimentalBorder": { + "radius": true } }, "editorStyle": "wp-block-group-editor",