Created
June 8, 2021 08:51
-
-
Save aaronrobertshaw/64669b3a4c5443c3b0af28f49deffc36 to your computer and use it in GitHub Desktop.
Group block.json enabling spacing support and showing margin/padding controls by default
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "apiVersion": 2, | |
| "name": "core/group", | |
| "title": "Group", | |
| "category": "design", | |
| "description": "Combine blocks into a group.", | |
| "keywords": [ "container", "wrapper", "row", "section" ], | |
| "textdomain": "default", | |
| "attributes": { | |
| "tagName": { | |
| "type": "string", | |
| "default": "div" | |
| }, | |
| "templateLock": { | |
| "enum": [ "all", "insert", false ] | |
| } | |
| }, | |
| "supports": { | |
| "align": [ "wide", "full" ], | |
| "anchor": true, | |
| "html": false, | |
| "color": { | |
| "gradients": true, | |
| "link": true | |
| }, | |
| "spacing": { | |
| "margin": true, | |
| "padding": true, | |
| "__experimentalDefaultControls": { | |
| "padding": true, | |
| "margin": true | |
| } | |
| }, | |
| "__experimentalBorder": { | |
| "color": true, | |
| "radius": true, | |
| "style": true, | |
| "width": true | |
| }, | |
| "__experimentalLayout": true | |
| }, | |
| "editorStyle": "wp-block-group-editor", | |
| "style": "wp-block-group" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment