equal
deleted
inserted
replaced
1 { |
1 { |
2 "$schema": "https://schemas.wp.org/trunk/block.json", |
2 "$schema": "https://schemas.wp.org/trunk/block.json", |
3 "apiVersion": 2, |
3 "apiVersion": 3, |
4 "name": "core/query", |
4 "name": "core/query", |
5 "title": "Query Loop", |
5 "title": "Query Loop", |
6 "category": "theme", |
6 "category": "theme", |
7 "description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.", |
7 "description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.", |
8 "textdomain": "default", |
8 "textdomain": "default", |
22 "author": "", |
22 "author": "", |
23 "search": "", |
23 "search": "", |
24 "exclude": [], |
24 "exclude": [], |
25 "sticky": "", |
25 "sticky": "", |
26 "inherit": true, |
26 "inherit": true, |
27 "taxQuery": null |
27 "taxQuery": null, |
|
28 "parents": [] |
28 } |
29 } |
29 }, |
30 }, |
30 "tagName": { |
31 "tagName": { |
31 "type": "string", |
32 "type": "string", |
32 "default": "div" |
33 "default": "div" |
33 }, |
34 }, |
34 "displayLayout": { |
35 "namespace": { |
35 "type": "object", |
36 "type": "string" |
36 "default": { |
37 }, |
37 "type": "list" |
38 "enhancedPagination": { |
38 } |
39 "type": "boolean", |
|
40 "default": false |
39 } |
41 } |
40 }, |
42 }, |
41 "providesContext": { |
43 "providesContext": { |
42 "queryId": "queryId", |
44 "queryId": "queryId", |
43 "query": "query", |
45 "query": "query", |
44 "displayLayout": "displayLayout" |
46 "displayLayout": "displayLayout", |
|
47 "enhancedPagination": "enhancedPagination" |
45 }, |
48 }, |
46 "supports": { |
49 "supports": { |
47 "align": [ "wide", "full" ], |
50 "align": [ "wide", "full" ], |
48 "html": false, |
51 "html": false, |
49 "color": { |
52 "layout": true, |
50 "gradients": true, |
53 "interactivity": true |
51 "link": true, |
|
52 "__experimentalDefaultControls": { |
|
53 "background": true, |
|
54 "text": true |
|
55 } |
|
56 }, |
|
57 "__experimentalLayout": true |
|
58 }, |
54 }, |
59 "editorStyle": "wp-block-query-editor" |
55 "editorStyle": "wp-block-query-editor" |
60 } |
56 } |