Last active
June 21, 2021 10:26
-
-
Save aaronrobertshaw/ea7337b794bc44d7017bf4e82988c756 to your computer and use it in GitHub Desktop.
Group block.json with support for height and width enabled
This file contains 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 | |
}, | |
"__experimentalDimensions": { | |
"height": true, | |
"width": "segmented", | |
"__experimentalDefaultControls": { | |
"width": true | |
} | |
}, | |
"spacing": { | |
"margin": true, | |
"padding": true, | |
"__experimentalDefaultControls": { | |
"padding": 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