PluginProbe
Getwid – Gutenberg Blocks / 3.0.2
Getwid – Gutenberg Blocks v3.0.2
3.0.2 3.0.1 3.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.2.0 trunk 1.8.7 1.9.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9
getwid / assets / blocks / image-box / block.json

block.json in Getwid – Gutenberg Blocks 3.0.2, at assets/blocks/image-box/block.json

112 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "textdomain": "getwid",
5 "name": "getwid/image-box",
6 "description": "Combines an image with text and a link.",
7 "category": "getwid-blocks",
8 "title": "Image Box",
9 "keywords": [
10 "feature",
11 "service"
12 ],
13 "supports": {
14 "alignWide": true,
15 "align": [
16 "wide",
17 "full"
18 ]
19 },
20 "attributes": {
21 "imageSize": {
22 "type": "string",
23 "default": "full"
24 },
25 "id": {
26 "type": "number"
27 },
28 "url": {
29 "type": "string",
30 "source": "attribute",
31 "selector": ".wp-block-getwid-image-box__image-wrapper img",
32 "attribute": "src"
33 },
34 "alt": {
35 "type": "string",
36 "source": "attribute",
37 "selector": ".wp-block-getwid-image-box__image-wrapper img",
38 "attribute": "alt"
39 },
40 "textAlignment": {
41 "type": "string",
42 "default": "center"
43 },
44 "layout": {
45 "type": "string"
46 },
47 "imagePosition": {
48 "type": "string",
49 "default": "top"
50 },
51 "marginTop": {
52 "type": "string"
53 },
54 "marginBottom": {
55 "type": "string"
56 },
57 "marginLeft": {
58 "type": "string"
59 },
60 "marginRight": {
61 "type": "string"
62 },
63 "link": {
64 "type": "string",
65 "source": "attribute",
66 "selector": "a.wp-block-getwid-image-box__image-wrapper",
67 "attribute": "href"
68 },
69 "align": {
70 "type": "string"
71 },
72 "hoverAnimation": {
73 "type": "string",
74 "source": "attribute",
75 "selector": ".wp-block-getwid-image-box",
76 "attribute": "data-animation"
77 },
78 "mobileLayout": {
79 "type": "string",
80 "default": "default"
81 },
82 "mobileAlignment": {
83 "type": "string",
84 "default": "default"
85 },
86 "linkTarget": {
87 "type": "string",
88 "source": "attribute",
89 "selector": "a.wp-block-getwid-image-box__image-wrapper",
90 "attribute": "target"
91 },
92 "rel": {
93 "type": "string",
94 "source": "attribute",
95 "selector": "a.wp-block-getwid-image-box__image-wrapper",
96 "attribute": "rel"
97 }
98 },
99 "editorScript": [
100 "jquery",
101 "file:./index.js"
102 ],
103 "editorStyle": "file:./index.css",
104 "style": [
105 "animate",
106 "file:./style-index.css"
107 ],
108 "viewScript": [
109 "jquery",
110 "file:./view.js"
111 ]
112 }