PluginProbe
Gutenberg / 13.5.1
Gutenberg v13.5.1
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
gutenberg / build / block-library / blocks / query / block.json

block.json in Gutenberg 13.5.1, at build/block-library/blocks/query/block.json

62 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 2,
4 "name": "core/query",
5 "title": "Query Loop",
6 "category": "theme",
7 "description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.",
8 "textdomain": "default",
9 "attributes": {
10 "queryId": {
11 "type": "number"
12 },
13 "query": {
14 "type": "object",
15 "default": {
16 "perPage": null,
17 "pages": 0,
18 "offset": 0,
19 "postType": "post",
20 "order": "desc",
21 "orderBy": "date",
22 "author": "",
23 "search": "",
24 "exclude": [],
25 "sticky": "",
26 "inherit": true,
27 "taxQuery": null,
28 "parents": []
29 }
30 },
31 "tagName": {
32 "type": "string",
33 "default": "div"
34 },
35 "displayLayout": {
36 "type": "object",
37 "default": {
38 "type": "list"
39 }
40 }
41 },
42 "providesContext": {
43 "queryId": "queryId",
44 "query": "query",
45 "displayLayout": "displayLayout"
46 },
47 "supports": {
48 "align": [ "wide", "full" ],
49 "html": false,
50 "color": {
51 "gradients": true,
52 "link": true,
53 "__experimentalDefaultControls": {
54 "background": true,
55 "text": true
56 }
57 },
58 "__experimentalLayout": true
59 },
60 "editorStyle": "wp-block-query-editor"
61 }
62