initial
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "generateblocks/loop-item",
|
||||
"title": "Loop Item",
|
||||
"category": "generateblocks",
|
||||
"description": "The item that is looped inside of the Looper.",
|
||||
"keywords": [
|
||||
"loop",
|
||||
"loop item"
|
||||
],
|
||||
"version": "1.0.0",
|
||||
"textdomain": "generateblocks",
|
||||
"parent": [
|
||||
"generateblocks/looper"
|
||||
],
|
||||
"attributes": {
|
||||
"uniqueId": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"tagName": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"enum": [
|
||||
"div",
|
||||
"li",
|
||||
"a",
|
||||
"article",
|
||||
"section",
|
||||
"aside"
|
||||
]
|
||||
},
|
||||
"styles": {
|
||||
"type": "object",
|
||||
"default": {}
|
||||
},
|
||||
"css": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"globalClasses": {
|
||||
"type": "array",
|
||||
"default": []
|
||||
},
|
||||
"htmlAttributes": {
|
||||
"type": "object",
|
||||
"default": {}
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"align": false,
|
||||
"className": false
|
||||
},
|
||||
"editorScript": "file:./index.js",
|
||||
"editorStyle": [
|
||||
"file:./index.css"
|
||||
],
|
||||
"usesContext": [
|
||||
"generateblocks/queryData",
|
||||
"generateblocks/queryType",
|
||||
"generateblocks/loopIndex",
|
||||
"generateblocks/loopItem",
|
||||
"generateblocks/loopPreviewId",
|
||||
"generateblocks/hasLoopItems",
|
||||
"generateblocks/queryId",
|
||||
"generateblocks/setLoopPreviewId",
|
||||
"postId"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user