mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 20:40:44 +01:00
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
This commit is contained in:
parent
6db9d1c22a
commit
5745d6f438
58
src/wp-includes/blocks/query-total/block.json
Normal file
58
src/wp-includes/blocks/query-total/block.json
Normal file
@ -0,0 +1,58 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/query-total",
|
||||
"title": "Query Total",
|
||||
"category": "theme",
|
||||
"ancestor": [ "core/query" ],
|
||||
"description": "Display the total number of results in a query.",
|
||||
"textdomain": "default",
|
||||
"attributes": {
|
||||
"displayType": {
|
||||
"type": "string",
|
||||
"default": "total-results"
|
||||
}
|
||||
},
|
||||
"usesContext": [ "queryId", "query" ],
|
||||
"supports": {
|
||||
"align": [ "wide", "full" ],
|
||||
"html": false,
|
||||
"spacing": {
|
||||
"margin": true,
|
||||
"padding": true
|
||||
},
|
||||
"color": {
|
||||
"gradients": true,
|
||||
"text": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"background": true
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"lineHeight": true,
|
||||
"__experimentalFontFamily": true,
|
||||
"__experimentalFontWeight": true,
|
||||
"__experimentalFontStyle": true,
|
||||
"__experimentalTextTransform": true,
|
||||
"__experimentalTextDecoration": true,
|
||||
"__experimentalLetterSpacing": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"__experimentalBorder": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"width": true,
|
||||
"style": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"width": true,
|
||||
"style": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"style": "wp-block-query-total"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user