Skip to content

Commit 5745d6f

Browse files
committed
Editor: Add query-total block files.
This is a follow-up to [59775] to add new files that were missed in the original commit. See #62887. git-svn-id: https://develop.svn.wordpress.org/trunk@59776 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6db9d1c commit 5745d6f

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"$schema": "https://schemas.wp.org/trunk/block.json",
3+
"apiVersion": 3,
4+
"name": "core/query-total",
5+
"title": "Query Total",
6+
"category": "theme",
7+
"ancestor": [ "core/query" ],
8+
"description": "Display the total number of results in a query.",
9+
"textdomain": "default",
10+
"attributes": {
11+
"displayType": {
12+
"type": "string",
13+
"default": "total-results"
14+
}
15+
},
16+
"usesContext": [ "queryId", "query" ],
17+
"supports": {
18+
"align": [ "wide", "full" ],
19+
"html": false,
20+
"spacing": {
21+
"margin": true,
22+
"padding": true
23+
},
24+
"color": {
25+
"gradients": true,
26+
"text": true,
27+
"__experimentalDefaultControls": {
28+
"background": true
29+
}
30+
},
31+
"typography": {
32+
"fontSize": true,
33+
"lineHeight": true,
34+
"__experimentalFontFamily": true,
35+
"__experimentalFontWeight": true,
36+
"__experimentalFontStyle": true,
37+
"__experimentalTextTransform": true,
38+
"__experimentalTextDecoration": true,
39+
"__experimentalLetterSpacing": true,
40+
"__experimentalDefaultControls": {
41+
"fontSize": true
42+
}
43+
},
44+
"__experimentalBorder": {
45+
"radius": true,
46+
"color": true,
47+
"width": true,
48+
"style": true,
49+
"__experimentalDefaultControls": {
50+
"radius": true,
51+
"color": true,
52+
"width": true,
53+
"style": true
54+
}
55+
}
56+
},
57+
"style": "wp-block-query-total"
58+
}

0 commit comments

Comments
 (0)