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

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

59 lines 1.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/person",
6 "description": "Introduces a person with image and details.",
7 "category": "getwid-blocks",
8 "title": "Person",
9 "keywords": [
10 "team",
11 "member"
12 ],
13 "supports": {
14 "html": false
15 },
16 "attributes": {
17 "imageSize": {
18 "type": "string",
19 "default": "full"
20 },
21 "imageCrop": {
22 "type": "boolean",
23 "default": true
24 },
25 "title": {
26 "type": "string",
27 "source": "html",
28 "selector": ".wp-block-getwid-person__title"
29 },
30 "subtitle": {
31 "type": "string",
32 "source": "html",
33 "selector": ".wp-block-getwid-person__subtitle"
34 },
35 "content": {
36 "type": "string",
37 "source": "html",
38 "selector": ".wp-block-getwid-person__content"
39 },
40 "imgId": {
41 "type": "number"
42 },
43 "imgUrl": {
44 "type": "string",
45 "source": "attribute",
46 "attribute": "src",
47 "selector": ".wp-block-getwid-person__image img"
48 },
49 "imgAlt": {
50 "type": "string",
51 "source": "attribute",
52 "attribute": "alt",
53 "selector": ".wp-block-getwid-person__image img"
54 }
55 },
56 "editorScript": "file:./index.js",
57 "editorStyle": "file:./index.css",
58 "style": "file:./style-index.css"
59 }