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-pagination-numbers", |
4 "name": "core/query-pagination-numbers", |
5 "title": "Page Numbers", |
5 "title": "Page Numbers", |
6 "category": "theme", |
6 "category": "theme", |
7 "parent": [ "core/query-pagination" ], |
7 "parent": [ "core/query-pagination" ], |
8 "description": "Displays a list of page numbers for pagination", |
8 "description": "Displays a list of page numbers for pagination.", |
9 "textdomain": "default", |
9 "textdomain": "default", |
10 "usesContext": [ "queryId", "query" ], |
10 "attributes": { |
|
11 "midSize": { |
|
12 "type": "number", |
|
13 "default": 2 |
|
14 } |
|
15 }, |
|
16 "usesContext": [ "queryId", "query", "enhancedPagination" ], |
11 "supports": { |
17 "supports": { |
12 "reusable": false, |
18 "reusable": false, |
13 "html": false, |
19 "html": false, |
14 "color": { |
20 "color": { |
15 "gradients": true, |
21 "gradients": true, |
19 } |
25 } |
20 }, |
26 }, |
21 "typography": { |
27 "typography": { |
22 "fontSize": true, |
28 "fontSize": true, |
23 "lineHeight": true, |
29 "lineHeight": true, |
|
30 "__experimentalFontFamily": true, |
|
31 "__experimentalFontWeight": true, |
24 "__experimentalFontStyle": true, |
32 "__experimentalFontStyle": true, |
25 "__experimentalFontWeight": true, |
33 "__experimentalTextTransform": true, |
|
34 "__experimentalTextDecoration": true, |
26 "__experimentalLetterSpacing": true, |
35 "__experimentalLetterSpacing": true, |
27 "__experimentalTextTransform": true, |
|
28 "__experimentalDefaultControls": { |
36 "__experimentalDefaultControls": { |
29 "fontSize": true |
37 "fontSize": true |
30 } |
38 } |
|
39 }, |
|
40 "interactivity": { |
|
41 "clientNavigation": true |
31 } |
42 } |
32 }, |
43 }, |
33 "editorStyle": "query-pagination-numbers-editor" |
44 "editorStyle": "wp-block-query-pagination-numbers-editor" |
34 } |
45 } |