PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 2.0.0
GenerateBlocks v2.0.0
trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / src / blocks / shape / block.json
generateblocks / src / blocks / shape Last commit date
components 1 year ago block.json 1 year ago edit.js 1 year ago index.js 1 year ago save.js 1 year ago
block.json
48 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "generateblocks/shape",
5 "title": "Shape",
6 "category": "generateblocks",
7 "description": "A custom SVG shape.",
8 "keywords": [ "text", "heading", "headline", "paragraph" ],
9 "version": "1.0.0",
10 "textdomain": "generateblocks",
11 "attributes": {
12 "uniqueId": {
13 "type": "string",
14 "default": ""
15 },
16 "html": {
17 "type": "string",
18 "source": "html",
19 "selector": ".gb-shape"
20 },
21 "styles": {
22 "type": "object",
23 "default": {}
24 },
25 "css": {
26 "type": "string",
27 "default": ""
28 },
29 "globalClasses": {
30 "type": "array",
31 "default": []
32 },
33 "htmlAttributes": {
34 "type": "object",
35 "default": {}
36 }
37 },
38 "supports": {
39 "align": false,
40 "className": false
41 },
42 "editorScript": "file:./index.js",
43 "editorStyle": [
44 "file:./index.css"
45 ],
46 "usesContext": [ "postId" ]
47 }
48