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 / banner / block.json

block.json in Getwid – Gutenberg Blocks 3.0.2, at assets/blocks/banner/block.json

113 lines 2.2 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/banner",
6 "description": "Displays a promotional image or video banner.",
7 "category": "getwid-blocks",
8 "title": "Banner",
9 "keywords": [
10 "image",
11 "cover"
12 ],
13 "supports": {
14 "align": [
15 "wide",
16 "full"
17 ]
18 },
19 "attributes": {
20 "backgroundColor": {
21 "type": "string"
22 },
23 "textColor": {
24 "type": "string"
25 },
26 "customBackgroundColor": {
27 "type": "string"
28 },
29 "customTextColor": {
30 "type": "string"
31 },
32 "imageSize": {
33 "type": "string",
34 "default": "full"
35 },
36 "id": {
37 "type": "number"
38 },
39 "url": {
40 "type": "string",
41 "source": "attribute",
42 "selector": ".wp-block-getwid-banner__source",
43 "attribute": "src"
44 },
45 "type": {
46 "type": "string",
47 "default": "image"
48 },
49 "title": {
50 "type": "string",
51 "source": "html",
52 "selector": "span"
53 },
54 "text": {
55 "type": "string",
56 "source": "html",
57 "selector": "p"
58 },
59 "link": {
60 "type": "string",
61 "source": "attribute",
62 "selector": ".wp-block-getwid-banner a",
63 "attribute": "href"
64 },
65 "align": {
66 "type": "string"
67 },
68 "minHeight": {
69 "type": "string"
70 },
71 "contentMaxWidth": {
72 "type": "string"
73 },
74 "verticalAlign": {
75 "type": "string",
76 "default": "center"
77 },
78 "horizontalAlign": {
79 "type": "string",
80 "default": "center"
81 },
82 "backgroundOpacity": {
83 "type": "number",
84 "default": 35
85 },
86 "blockAnimation": {
87 "type": "string",
88 "default": "style4"
89 },
90 "textAnimation": {
91 "type": "string",
92 "default": "opacity-bottom"
93 },
94 "linkTarget": {
95 "type": "string",
96 "source": "attribute",
97 "selector": ".wp-block-getwid-banner__link",
98 "attribute": "target"
99 },
100 "rel": {
101 "type": "string",
102 "source": "attribute",
103 "selector": ".wp-block-getwid-banner__link",
104 "attribute": "rel"
105 }
106 },
107 "editorScript": "file:./index.js",
108 "editorStyle": [
109 "getwid-blocks-editor-common",
110 "file:./index.css"
111 ],
112 "style": "file:./style-index.css"
113 }