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
save.js
2 months ago
style.scss
2 months ago
block.json
154 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "vk-blocks/pr-blocks", |
| 4 | "title": "PR Blocks ( not recommended )", |
| 5 | "category": "vk-blocks-cat", |
| 6 | "attributes": { |
| 7 | "heading1": { |
| 8 | "type": "string", |
| 9 | "source": "html", |
| 10 | "selector": ".vk_prBlocks_item_title-1", |
| 11 | "role": "content" |
| 12 | }, |
| 13 | "heading2": { |
| 14 | "type": "string", |
| 15 | "source": "html", |
| 16 | "selector": ".vk_prBlocks_item_title-2", |
| 17 | "role": "content" |
| 18 | }, |
| 19 | "heading3": { |
| 20 | "type": "string", |
| 21 | "source": "html", |
| 22 | "selector": ".vk_prBlocks_item_title-3", |
| 23 | "role": "content" |
| 24 | }, |
| 25 | "heading4": { |
| 26 | "type": "string", |
| 27 | "source": "html", |
| 28 | "selector": ".vk_prBlocks_item_title-4", |
| 29 | "role": "content" |
| 30 | }, |
| 31 | "content1": { |
| 32 | "type": "string", |
| 33 | "source": "html", |
| 34 | "selector": "p.vk_prBlocks_item_summary-1", |
| 35 | "role": "content" |
| 36 | }, |
| 37 | "content2": { |
| 38 | "type": "string", |
| 39 | "source": "html", |
| 40 | "selector": "p.vk_prBlocks_item_summary-2", |
| 41 | "role": "content" |
| 42 | }, |
| 43 | "content3": { |
| 44 | "type": "string", |
| 45 | "source": "html", |
| 46 | "selector": "p.vk_prBlocks_item_summary-3", |
| 47 | "role": "content" |
| 48 | }, |
| 49 | "content4": { |
| 50 | "type": "string", |
| 51 | "source": "html", |
| 52 | "selector": "p.vk_prBlocks_item_summary-4", |
| 53 | "role": "content" |
| 54 | }, |
| 55 | "url1": { |
| 56 | "type": "string", |
| 57 | "default": "" |
| 58 | }, |
| 59 | "url2": { |
| 60 | "type": "string", |
| 61 | "default": "" |
| 62 | }, |
| 63 | "url3": { |
| 64 | "type": "string", |
| 65 | "default": "" |
| 66 | }, |
| 67 | "url4": { |
| 68 | "type": "string", |
| 69 | "default": "" |
| 70 | }, |
| 71 | "urlOpenType1": { |
| 72 | "type": "Boolean", |
| 73 | "default": false |
| 74 | }, |
| 75 | "urlOpenType2": { |
| 76 | "type": "Boolean", |
| 77 | "default": false |
| 78 | }, |
| 79 | "urlOpenType3": { |
| 80 | "type": "Boolean", |
| 81 | "default": false |
| 82 | }, |
| 83 | "urlOpenType4": { |
| 84 | "type": "Boolean", |
| 85 | "default": false |
| 86 | }, |
| 87 | "icon1": { |
| 88 | "type": "string", |
| 89 | "default": "<i class=\"fas fa-file\"></i>" |
| 90 | }, |
| 91 | "icon2": { |
| 92 | "type": "string", |
| 93 | "default": "<i class=\"fas fa-file\"></i>" |
| 94 | }, |
| 95 | "icon3": { |
| 96 | "type": "string", |
| 97 | "default": "<i class=\"fas fa-file\"></i>" |
| 98 | }, |
| 99 | "icon4": { |
| 100 | "type": "string", |
| 101 | "default": "<i class=\"fas fa-file\"></i>" |
| 102 | }, |
| 103 | "color1": { |
| 104 | "type": "string" |
| 105 | }, |
| 106 | "color2": { |
| 107 | "type": "string" |
| 108 | }, |
| 109 | "color3": { |
| 110 | "type": "string" |
| 111 | }, |
| 112 | "color4": { |
| 113 | "type": "string" |
| 114 | }, |
| 115 | "bgType1": { |
| 116 | "type": "string", |
| 117 | "default": "0" |
| 118 | }, |
| 119 | "bgType2": { |
| 120 | "type": "string", |
| 121 | "default": "0" |
| 122 | }, |
| 123 | "bgType3": { |
| 124 | "type": "string", |
| 125 | "default": "0" |
| 126 | }, |
| 127 | "bgType4": { |
| 128 | "type": "string", |
| 129 | "default": "0" |
| 130 | }, |
| 131 | "insertImage1": { |
| 132 | "type": "string", |
| 133 | "default": "" |
| 134 | }, |
| 135 | "insertImage2": { |
| 136 | "type": "string", |
| 137 | "default": "" |
| 138 | }, |
| 139 | "insertImage3": { |
| 140 | "type": "string", |
| 141 | "default": "" |
| 142 | }, |
| 143 | "insertImage4": { |
| 144 | "type": "string", |
| 145 | "default": "" |
| 146 | } |
| 147 | }, |
| 148 | "description": "This is a PR block where you can place images and icon. But currently, it is possible to create the same layout by combining Column Block and Icon Block, so this block is not recommended. Please check Columns category of Block Patterns.", |
| 149 | "textdomain": "vk-blocks", |
| 150 | "supports": { |
| 151 | "className": true |
| 152 | } |
| 153 | } |
| 154 |