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

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

133 lines 2.9 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-hotspot",
6 "description": "Adds interactive hotspots to an image.",
7 "category": "getwid-blocks",
8 "title": "Image Hotspot",
9 "keywords": [
10 "tooltip"
11 ],
12 "supports": {
13 "alignWide": true,
14 "align": [
15 "wide",
16 "full"
17 ]
18 },
19 "attributes": {
20 "imageSize": {
21 "type": "string",
22 "default": "full"
23 },
24 "id": {
25 "type": "number"
26 },
27 "url": {
28 "type": "string",
29 "source": "attribute",
30 "selector": ".wp-block-getwid-image-hotspot__wrapper img",
31 "attribute": "src"
32 },
33 "alt": {
34 "type": "string",
35 "source": "attribute",
36 "selector": ".wp-block-getwid-image-hotspot__wrapper img",
37 "attribute": "alt"
38 },
39 "tooltipTrigger": {
40 "type": "string",
41 "source": "attribute",
42 "selector": ".wp-block-getwid-image-hotspot",
43 "attribute": "data-trigger",
44 "default": "click"
45 },
46 "tooltipTheme": {
47 "type": "string",
48 "source": "attribute",
49 "selector": ".wp-block-getwid-image-hotspot",
50 "attribute": "data-theme",
51 "default": "light"
52 },
53 "tooltipArrow": {
54 "type": "boolean",
55 "default": true
56 },
57 "tooltipAnimation": {
58 "type": "string",
59 "source": "attribute",
60 "selector": ".wp-block-getwid-image-hotspot",
61 "attribute": "data-tooltip-animation",
62 "default": "shift-toward"
63 },
64 "dotIcon": {
65 "type": "string",
66 "default": "fas fa-plus"
67 },
68 "dotSize": {
69 "type": "number",
70 "default": 16
71 },
72 "dotPaddings": {
73 "type": "number",
74 "default": 6
75 },
76 "dotColor": {
77 "type": "string"
78 },
79 "dotBackground": {
80 "type": "string"
81 },
82 "dotOpacity": {
83 "type": "number",
84 "default": 100
85 },
86 "dotPulse": {
87 "type": "string",
88 "default": "pulse"
89 },
90 "dotAppearanceAnimation": {
91 "type": "string",
92 "source": "attribute",
93 "selector": ".wp-block-getwid-image-hotspot",
94 "attribute": "data-appearance-animation",
95 "default": "none"
96 },
97 "align": {
98 "type": "string"
99 },
100 "hoverAnimation": {
101 "type": "string",
102 "source": "attribute",
103 "selector": ".wp-block-getwid-image-hotspot",
104 "attribute": "data-animation",
105 "default": ""
106 },
107 "imagePoints": {
108 "type": "string",
109 "source": "attribute",
110 "selector": ".wp-block-getwid-image-hotspot",
111 "attribute": "data-image-points",
112 "default": ""
113 }
114 },
115 "editorScript": [
116 "tippy",
117 "file:./index.js"
118 ],
119 "editorStyle": "file:./index.css",
120 "style": [
121 "tippy-themes",
122 "tippy-animation",
123 "file:./style-index.css"
124 ],
125 "viewScript": [
126 "jquery",
127 "popper",
128 "tippy",
129 "waypoints",
130 "unescape",
131 "file:./view.js"
132 ]
133 }