PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / trunk
GenerateBlocks vtrunk
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 / dist / blocks / element / block.json
generateblocks / dist / blocks / element Last commit date
block.json 1 year ago index-rtl.css 6 months ago index.asset.php 2 weeks ago index.css 6 months ago index.js 2 weeks ago
block.json
83 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "generateblocks/element",
5 "title": "Container",
6 "category": "generateblocks",
7 "description": "An HTML element that you can add blocks inside of.",
8 "keywords": [
9 "element",
10 "container",
11 "group"
12 ],
13 "version": "1.0.0",
14 "textdomain": "generateblocks",
15 "attributes": {
16 "uniqueId": {
17 "type": "string",
18 "default": ""
19 },
20 "tagName": {
21 "type": "string",
22 "default": "",
23 "enum": [
24 "div",
25 "section",
26 "article",
27 "aside",
28 "header",
29 "footer",
30 "nav",
31 "main",
32 "figure",
33 "a",
34 "ul",
35 "ol",
36 "li",
37 "dl",
38 "dt",
39 "dd"
40 ]
41 },
42 "styles": {
43 "type": "object",
44 "default": {}
45 },
46 "css": {
47 "type": "string",
48 "default": ""
49 },
50 "globalClasses": {
51 "type": "array",
52 "default": []
53 },
54 "htmlAttributes": {
55 "type": "object",
56 "default": {}
57 },
58 "align": {
59 "type": "string",
60 "default": ""
61 }
62 },
63 "supports": {
64 "align": false,
65 "className": false
66 },
67 "usesContext": [
68 "postId",
69 "postType",
70 "generateblocks/query",
71 "generateblocks/queryData",
72 "generateblocks/queryType",
73 "generateblocks/inheritQuery",
74 "generateblocks/queryId",
75 "generateblocks/paginationType",
76 "generateblocks/loopIndex",
77 "generateblocks/loopItem"
78 ],
79 "editorScript": "file:./index.js",
80 "editorStyle": [
81 "file:./index.css"
82 ]
83 }