deprecated
2 weeks ago
block.json
1 month ago
component.js
2 months 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 weeks ago
block.json
76 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "vk-blocks/icon", |
| 4 | "category": "vk-blocks-cat", |
| 5 | "title": "Icon", |
| 6 | "attributes": { |
| 7 | "faIcon": { |
| 8 | "type": "string", |
| 9 | "default": "<i class=\"fas fa-user\"></i>" |
| 10 | }, |
| 11 | "iconSize": { |
| 12 | "type": "number", |
| 13 | "default": 36 |
| 14 | }, |
| 15 | "iconSizeUnit": { |
| 16 | "type": "string", |
| 17 | "default": "px" |
| 18 | }, |
| 19 | "iconMargin": { |
| 20 | "type": "number", |
| 21 | "default": 22 |
| 22 | }, |
| 23 | "iconMarginUnit": { |
| 24 | "type": "string", |
| 25 | "default": "px" |
| 26 | }, |
| 27 | "iconRadius": { |
| 28 | "type": "number", |
| 29 | "default": 50 |
| 30 | }, |
| 31 | "iconAlign": { |
| 32 | "type": "string", |
| 33 | "default": "left" |
| 34 | }, |
| 35 | "iconType": { |
| 36 | "type": "string", |
| 37 | "default": "0" |
| 38 | }, |
| 39 | "iconColor": { |
| 40 | "type": "string", |
| 41 | "default": "inherit" |
| 42 | }, |
| 43 | "iconFontColor": { |
| 44 | "type": "string" |
| 45 | }, |
| 46 | "iconUrl": { |
| 47 | "type": "string", |
| 48 | "role": "content" |
| 49 | }, |
| 50 | "iconTarget": { |
| 51 | "type": "boolean", |
| 52 | "default": false, |
| 53 | "role": "content" |
| 54 | }, |
| 55 | "relAttribute": { |
| 56 | "type": "string", |
| 57 | "default": "" |
| 58 | }, |
| 59 | "linkDescription": { |
| 60 | "type": "string", |
| 61 | "default": "" |
| 62 | }, |
| 63 | "linkToPost": { |
| 64 | "type": "boolean", |
| 65 | "default": false |
| 66 | } |
| 67 | }, |
| 68 | "description": "Display icons with Font Awesome.", |
| 69 | "textdomain": "vk-blocks", |
| 70 | "supports": { |
| 71 | "className": true, |
| 72 | "anchor": true |
| 73 | }, |
| 74 | "usesContext": ["postId", "postType", "queryId"] |
| 75 | } |
| 76 |