deprecated
2 months ago
advanced-spacer-control.js
2 months ago
block.json
2 days ago
edit.js
2 weeks ago
icon.svg
2 months ago
index.js
2 months ago
index.php
2 months ago
save.js
2 months ago
spacers.js
2 months ago
style.scss
2 months ago
transforms.js
2 months ago
block.json
52 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "vk-blocks/spacer", |
| 4 | "title": "Responsive Spacer", |
| 5 | "description": "Use responsive spacers to get the margins right.", |
| 6 | "category": "vk-blocks-cat", |
| 7 | "attributes": { |
| 8 | "anchor": { |
| 9 | "type": "string", |
| 10 | "default": null |
| 11 | }, |
| 12 | "spaceType": { |
| 13 | "type": "string", |
| 14 | "default": "margin-top" |
| 15 | }, |
| 16 | "unit": { |
| 17 | "type": "string", |
| 18 | "default": "px" |
| 19 | }, |
| 20 | "pc": { |
| 21 | "type": "number", |
| 22 | "default": 40 |
| 23 | }, |
| 24 | "tablet": { |
| 25 | "type": "number", |
| 26 | "default": 30 |
| 27 | }, |
| 28 | "mobile": { |
| 29 | "type": "number", |
| 30 | "default": 20 |
| 31 | }, |
| 32 | "spaceSize": { |
| 33 | "type": "string", |
| 34 | "default": "medium", |
| 35 | "enum": [ |
| 36 | "xxs", |
| 37 | "xs", |
| 38 | "small", |
| 39 | "medium", |
| 40 | "large", |
| 41 | "xl", |
| 42 | "xxl", |
| 43 | "custom" |
| 44 | ] |
| 45 | } |
| 46 | }, |
| 47 | "textdomain": "vk-blocks", |
| 48 | "supports": { |
| 49 | "anchor": true |
| 50 | } |
| 51 | } |
| 52 |