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 / loop-item / block.json
generateblocks / src / blocks / loop-item Last commit date
components 1 year ago block.json 1 year ago edit.js 1 year ago editor.scss 1 year ago index.js 1 year ago save.js 1 year ago
block.json
66 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "generateblocks/loop-item",
5 "title": "Loop Item",
6 "category": "generateblocks",
7 "description": "The item that is looped inside of the Looper.",
8 "keywords": [ "text", "heading", "headline", "paragraph" ],
9 "version": "1.0.0",
10 "textdomain": "generateblocks",
11 "parent": [ "generateblocks/looper" ],
12 "attributes": {
13 "uniqueId": {
14 "type": "string",
15 "default": ""
16 },
17 "tagName": {
18 "type": "string",
19 "default": "",
20 "enum": [
21 "div",
22 "li",
23 "a",
24 "article",
25 "section",
26 "aside"
27 ]
28 },
29 "styles": {
30 "type": "object",
31 "default": {}
32 },
33 "css": {
34 "type": "string",
35 "default": ""
36 },
37 "globalClasses": {
38 "type": "array",
39 "default": []
40 },
41 "htmlAttributes": {
42 "type": "object",
43 "default": {}
44 }
45 },
46 "supports": {
47 "align": false,
48 "className": false
49 },
50 "editorScript": "file:./index.js",
51 "editorStyle": [
52 "file:./index.css"
53 ],
54 "usesContext": [
55 "generateblocks/queryData",
56 "generateblocks/queryType",
57 "generateblocks/loopIndex",
58 "generateblocks/loopItem",
59 "generateblocks/loopPreviewId",
60 "generateblocks/hasLoopItems",
61 "generateblocks/queryId",
62 "generateblocks/setLoopPreviewId",
63 "postId"
64 ]
65 }
66