Created
April 7, 2021 06:00
-
-
Save aaronrobertshaw/42baddd8cc2c707420059669269c74e8 to your computer and use it in GitHub Desktop.
Block JSON with custom margin sides
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", | |
"category": "design", | |
"attributes": { | |
"tagName": { | |
"type": "string", | |
"default": "div" | |
}, | |
"templateLock": { | |
"type": "string" | |
} | |
}, | |
"supports": { | |
"align": [ | |
"wide", | |
"full" | |
], | |
"anchor": true, | |
"html": false, | |
"color": { | |
"gradients": true, | |
"link": true | |
}, | |
"spacing": { | |
"padding": true, | |
"margin": { | |
"top": true, | |
"right": false, | |
"bottom": true, | |
"left": false | |
} | |
}, | |
"__experimentalBorder": { | |
"radius": 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