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

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

107 lines 2.1 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/icon",
6 "description": "Displays a customizable icon.",
7 "category": "getwid-blocks",
8 "title": "Icon",
9 "supports": {
10 "align": [
11 "left",
12 "right",
13 "wide",
14 "full"
15 ]
16 },
17 "attributes": {
18 "backgroundColor": {
19 "type": "string"
20 },
21 "textColor": {
22 "type": "string"
23 },
24 "customBackgroundColor": {
25 "type": "string"
26 },
27 "customTextColor": {
28 "type": "string"
29 },
30 "icon": {
31 "type": "string",
32 "default": "fab fa-wordpress"
33 },
34 "iconStyle": {
35 "type": "string",
36 "default": "default"
37 },
38 "iconSize": {
39 "type": "string"
40 },
41 "padding": {
42 "type": "number"
43 },
44 "marginTop": {
45 "type": "string"
46 },
47 "marginBottom": {
48 "type": "string"
49 },
50 "marginLeft": {
51 "type": "string"
52 },
53 "marginRight": {
54 "type": "string"
55 },
56 "borderWidth": {
57 "type": "number"
58 },
59 "borderRadius": {
60 "type": "number",
61 "default": 50
62 },
63 "link": {
64 "type": "string",
65 "source": "attribute",
66 "selector": "a.wp-block-getwid-icon__wrapper",
67 "attribute": "href"
68 },
69 "align": {
70 "type": "string"
71 },
72 "textAlignment": {
73 "type": "string"
74 },
75 "hoverAnimation": {
76 "type": "string",
77 "source": "attribute",
78 "selector": ".wp-block-getwid-icon__wrapper",
79 "attribute": "data-animation"
80 },
81 "linkTarget": {
82 "type": "string",
83 "source": "attribute",
84 "selector": "a.wp-block-getwid-icon__wrapper",
85 "attribute": "target"
86 },
87 "rel": {
88 "type": "string",
89 "source": "attribute",
90 "selector": "a.wp-block-getwid-icon__wrapper",
91 "attribute": "rel"
92 }
93 },
94 "editorScript": [
95 "jquery",
96 "file:./index.js"
97 ],
98 "editorStyle": "file:./index.css",
99 "style": [
100 "animate",
101 "file:./style-index.css"
102 ],
103 "viewScript": [
104 "jquery",
105 "file:./view.js"
106 ]
107 }