deprecated
2 months ago
block.json
2 days ago
edit.js
2 months ago
icon.svg
2 months ago
index.js
2 months ago
index.php
2 months ago
save.js
2 months ago
style.scss
2 months ago
block.json
55 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "vk-blocks/border-box", |
| 4 | "title": "Border Box", |
| 5 | "category": "vk-blocks-cat", |
| 6 | "attributes": { |
| 7 | "heading": { |
| 8 | "type": "string", |
| 9 | "source": "html", |
| 10 | "selector": "h3,h4,h5,h6,p", |
| 11 | "role": "content" |
| 12 | }, |
| 13 | "headingTag": { |
| 14 | "type": "string", |
| 15 | "default": "h4", |
| 16 | "enum": ["h3", "h4", "h5", "h6", "p"] |
| 17 | }, |
| 18 | "anchor": { |
| 19 | "type": "string", |
| 20 | "source": "attribute", |
| 21 | "attribute": "id", |
| 22 | "selector": "h3,h4,h5,h6" |
| 23 | }, |
| 24 | "includeInToc": { |
| 25 | "type": "boolean", |
| 26 | "default": false |
| 27 | }, |
| 28 | "color": { |
| 29 | "type": "string" |
| 30 | }, |
| 31 | "borderColor": { |
| 32 | "type": "string" |
| 33 | }, |
| 34 | "bgColor": { |
| 35 | "type": "string", |
| 36 | "default": "transparent", |
| 37 | "enum": ["transparent", "white"] |
| 38 | }, |
| 39 | "faIcon": { |
| 40 | "type": "string", |
| 41 | "default": "" |
| 42 | }, |
| 43 | "bodyAlign": { |
| 44 | "type": "string" |
| 45 | } |
| 46 | }, |
| 47 | "description": "This is a border box where you can place headings to attract attention.", |
| 48 | "textdomain": "vk-blocks", |
| 49 | "supports": { |
| 50 | "contentRole": true, |
| 51 | "html": false, |
| 52 | "className": true |
| 53 | } |
| 54 | } |
| 55 |