build/scripts/block-library/spacer
block.json
677 B
10 months ago
block.json in Gutenberg 23.2.0, at build/scripts/block-library/spacer/block.json
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "core/spacer", |
| 5 | "title": "Spacer", |
| 6 | "category": "design", |
| 7 | "description": "Add white space between blocks and customize its height.", |
| 8 | "textdomain": "default", |
| 9 | "attributes": { |
| 10 | "height": { |
| 11 | "type": "string", |
| 12 | "default": "100px" |
| 13 | }, |
| 14 | "width": { |
| 15 | "type": "string" |
| 16 | } |
| 17 | }, |
| 18 | "usesContext": [ "orientation" ], |
| 19 | "supports": { |
| 20 | "anchor": true, |
| 21 | "spacing": { |
| 22 | "margin": [ "top", "bottom" ], |
| 23 | "__experimentalDefaultControls": { |
| 24 | "margin": true |
| 25 | } |
| 26 | }, |
| 27 | "interactivity": { |
| 28 | "clientNavigation": true |
| 29 | } |
| 30 | }, |
| 31 | "editorStyle": "wp-block-spacer-editor", |
| 32 | "style": "wp-block-spacer" |
| 33 | } |
| 34 |