2021-05-19 11:09:27 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 10:24:19 -04:00
|
|
|
"apiVersion": 3,
|
2021-05-19 11:09:27 -04:00
|
|
|
"name": "core/query-title",
|
|
|
|
"title": "Query Title",
|
2021-11-29 19:24:27 -05:00
|
|
|
"category": "theme",
|
2021-05-19 11:09:27 -04:00
|
|
|
"description": "Display the query title.",
|
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"textAlign": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"level": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 1
|
2022-09-20 11:43:29 -04:00
|
|
|
},
|
|
|
|
"showPrefix": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"showSearchTerm": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
2021-05-19 11:09:27 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"align": [ "wide", "full" ],
|
|
|
|
"html": false,
|
|
|
|
"color": {
|
2022-04-12 11:12:47 -04:00
|
|
|
"gradients": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true
|
|
|
|
}
|
2021-05-19 11:09:27 -04:00
|
|
|
},
|
2021-11-08 09:29:21 -05:00
|
|
|
"spacing": {
|
2022-09-20 11:43:29 -04:00
|
|
|
"margin": true,
|
|
|
|
"padding": true
|
2021-11-08 09:29:21 -05:00
|
|
|
},
|
2021-06-08 04:09:53 -04:00
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
2021-11-08 09:29:21 -05:00
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalTextTransform": true,
|
2022-09-20 11:43:29 -04:00
|
|
|
"__experimentalTextDecoration": true,
|
2021-11-08 09:29:21 -05:00
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true,
|
|
|
|
"fontAppearance": true,
|
|
|
|
"textTransform": true
|
|
|
|
}
|
2021-06-08 04:09:53 -04:00
|
|
|
}
|
2021-05-19 11:09:27 -04:00
|
|
|
},
|
2022-09-20 11:43:29 -04:00
|
|
|
"style": "wp-block-query-title"
|
2021-05-19 11:09:27 -04:00
|
|
|
}
|