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

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

83 lines 1.8 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/map",
6 "description": "Displays a Google Map with location markers.",
7 "category": "getwid-blocks",
8 "title": "Google Maps",
9 "attributes": {
10 "mapHeight": {
11 "type": "number",
12 "default": 600
13 },
14 "mapCenter": {
15 "type": "object",
16 "default": {
17 "lat": 37.9106161839889,
18 "lng": 25.1221243506071
19 }
20 },
21 "mapZoom": {
22 "type": "number",
23 "default": 2
24 },
25 "interaction": {
26 "type": "string",
27 "source": "attribute",
28 "default": "cooperative",
29 "selector": ".wp-block-getwid-map",
30 "attribute": "data-interaction"
31 },
32 "zoomControl": {
33 "type": "boolean",
34 "default": true
35 },
36 "mapTypeControl": {
37 "type": "boolean",
38 "default": true
39 },
40 "streetViewControl": {
41 "type": "boolean",
42 "default": true
43 },
44 "fullscreenControl": {
45 "type": "boolean",
46 "default": true
47 },
48 "mapStyle": {
49 "type": "string",
50 "source": "attribute",
51 "default": "default",
52 "selector": ".wp-block-getwid-map",
53 "attribute": "data-map-style"
54 },
55 "customStyle": {
56 "type": "string",
57 "source": "attribute",
58 "selector": ".wp-block-getwid-map",
59 "attribute": "data-custom-style"
60 },
61 "blockAlignment": {
62 "type": "string"
63 },
64 "mapMarkers": {
65 "type": "string",
66 "source": "attribute",
67 "selector": ".wp-block-getwid-map",
68 "attribute": "data-map-markers",
69 "default": ""
70 }
71 },
72 "editorScript": [
73 "getwid-map-styles",
74 "jquery",
75 "file:./index.js"
76 ],
77 "editorStyle": "file:./index.css",
78 "style": "file:./style-index.css",
79 "viewScript": [
80 "jquery",
81 "file:./view.js"
82 ]
83 }