deprecated
2 months ago
block.json
1 month ago
edit.js
2 months ago
icon.svg
2 months ago
index.js
2 months ago
index.php
2 months ago
mediaUpload.js
2 months ago
save.js
2 weeks ago
style.scss
2 months ago
utils.js
2 months ago
block.json
78 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "vk-blocks/pr-content", |
| 4 | "title": "PR Content ( not recommended )", |
| 5 | "description": "This is PR content where you can place images, headlines, text, and buttons.", |
| 6 | "category": "vk-blocks-cat", |
| 7 | "attributes": { |
| 8 | "title": { |
| 9 | "source": "html", |
| 10 | "selector": ".vk_prContent_colTxt_title", |
| 11 | "role": "content" |
| 12 | }, |
| 13 | "titleColor": { |
| 14 | "type": "string", |
| 15 | "default": "" |
| 16 | }, |
| 17 | "content": { |
| 18 | "source": "html", |
| 19 | "selector": ".vk_prContent_colTxt_text", |
| 20 | "role": "content" |
| 21 | }, |
| 22 | "contentColor": { |
| 23 | "type": "string", |
| 24 | "default": "" |
| 25 | }, |
| 26 | "url": { |
| 27 | "type": "string", |
| 28 | "default": "" |
| 29 | }, |
| 30 | "buttonType": { |
| 31 | "type": "string", |
| 32 | "default": "0" |
| 33 | }, |
| 34 | "buttonColor": { |
| 35 | "type": "string", |
| 36 | "default": "primary" |
| 37 | }, |
| 38 | "buttonColorCustom": { |
| 39 | "type": "string", |
| 40 | "default": "" |
| 41 | }, |
| 42 | "buttonText": { |
| 43 | "source": "html", |
| 44 | "selector": ".vk_button_link_txt", |
| 45 | "default": "" |
| 46 | }, |
| 47 | "buttonTarget": { |
| 48 | "type": "Boolean", |
| 49 | "default": false |
| 50 | }, |
| 51 | "Image": { |
| 52 | "type": "string", |
| 53 | "default": "{}", |
| 54 | "role": "content" |
| 55 | }, |
| 56 | "ImageBorderColor": { |
| 57 | "type": "string", |
| 58 | "default": "" |
| 59 | }, |
| 60 | "layout": { |
| 61 | "type": "string", |
| 62 | "default": "left" |
| 63 | }, |
| 64 | "fontAwesomeIconBefore": { |
| 65 | "type": "string", |
| 66 | "default": "<i class='fas fa-user'></i>" |
| 67 | }, |
| 68 | "fontAwesomeIconAfter": { |
| 69 | "type": "string", |
| 70 | "default": "<i class='fas fa-user'></i>" |
| 71 | } |
| 72 | }, |
| 73 | "textdomain": "vk-blocks", |
| 74 | "supports": { |
| 75 | "className": true |
| 76 | } |
| 77 | } |
| 78 |