CoreFiles by mySites.guru
block.json60 lines, 1,195 bytes, from wordpress-6.0.13.zip
Raw History Compare with 6.0.12
md5
e74a085455c9df44d8034e7a0fed9bb5
sha1
df5766e7b3e9018cb53f40d5e321ce5532009624
sha256
30067a14e3bd321f94aa076d768f8dbbca2c34ca46a055908ce654e90acb67e9
{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "core/query",
	"title": "Query Loop",
	"category": "theme",
	"description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.",
	"textdomain": "default",
	"attributes": {
		"queryId": {
			"type": "number"
		},
		"query": {
			"type": "object",
			"default": {
				"perPage": null,
				"pages": 0,
				"offset": 0,
				"postType": "post",
				"order": "desc",
				"orderBy": "date",
				"author": "",
				"search": "",
				"exclude": [],
				"sticky": "",
				"inherit": true,
				"taxQuery": null
			}
		},
		"tagName": {
			"type": "string",
			"default": "div"
		},
		"displayLayout": {
			"type": "object",
			"default": {
				"type": "list"
			}
		}
	},
	"providesContext": {
		"queryId": "queryId",
		"query": "query",
		"displayLayout": "displayLayout"
	},
	"supports": {
		"align": [ "wide", "full" ],
		"html": false,
		"color": {
			"gradients": true,
			"link": true,
			"__experimentalDefaultControls": {
				"background": true,
				"text": true
			}
		},
		"__experimentalLayout": true
	},
	"editorStyle": "wp-block-query-editor"
}

The same content is in 29 releases, WordPress 6.0-beta1 to 6.0.18. See them all, or every version of this file.