2020-06-26 09:33:47 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 09:36:16 -04:00
|
|
|
"apiVersion": 2,
|
2020-06-26 09:33:47 -04:00
|
|
|
"name": "core/search",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "Search",
|
2020-06-26 09:33:47 -04:00
|
|
|
"category": "widgets",
|
2021-05-19 11:09:27 -04:00
|
|
|
"description": "Help visitors find your content.",
|
|
|
|
"keywords": [ "find" ],
|
|
|
|
"textdomain": "default",
|
2020-06-26 09:33:47 -04:00
|
|
|
"attributes": {
|
|
|
|
"label": {
|
2021-05-07 07:48:27 -04:00
|
|
|
"type": "string",
|
|
|
|
"__experimentalRole": "content"
|
2020-06-26 09:33:47 -04:00
|
|
|
},
|
2020-10-13 09:10:30 -04:00
|
|
|
"showLabel": {
|
2020-10-20 09:36:16 -04:00
|
|
|
"type": "boolean",
|
2020-10-13 09:10:30 -04:00
|
|
|
"default": true
|
|
|
|
},
|
2020-06-26 09:33:47 -04:00
|
|
|
"placeholder": {
|
|
|
|
"type": "string",
|
2021-05-07 07:48:27 -04:00
|
|
|
"default": "",
|
|
|
|
"__experimentalRole": "content"
|
2020-06-26 09:33:47 -04:00
|
|
|
},
|
2020-10-13 09:10:30 -04:00
|
|
|
"width": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"widthUnit": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-06-26 09:33:47 -04:00
|
|
|
"buttonText": {
|
2021-05-07 07:48:27 -04:00
|
|
|
"type": "string",
|
|
|
|
"__experimentalRole": "content"
|
2020-10-13 09:10:30 -04:00
|
|
|
},
|
|
|
|
"buttonPosition": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "button-outside"
|
|
|
|
},
|
|
|
|
"buttonUseIcon": {
|
2020-10-20 09:36:16 -04:00
|
|
|
"type": "boolean",
|
2020-10-13 09:10:30 -04:00
|
|
|
"default": false
|
2020-06-26 09:33:47 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
2020-10-13 09:10:30 -04:00
|
|
|
"align": [ "left", "center", "right" ],
|
2021-11-08 09:29:21 -05:00
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
2022-04-12 11:12:47 -04:00
|
|
|
"__experimentalSkipSerialization": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true
|
|
|
|
}
|
2021-11-08 09:29:21 -05:00
|
|
|
},
|
2021-04-15 11:19:43 -04:00
|
|
|
"__experimentalBorder": {
|
2021-11-08 09:29:21 -05:00
|
|
|
"color": true,
|
2021-04-15 11:19:43 -04:00
|
|
|
"radius": true,
|
2022-04-12 11:12:47 -04:00
|
|
|
"width": true,
|
|
|
|
"__experimentalSkipSerialization": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"color": true,
|
|
|
|
"radius": true,
|
|
|
|
"width": true
|
|
|
|
}
|
2021-04-15 11:19:43 -04:00
|
|
|
},
|
2020-10-20 09:36:16 -04:00
|
|
|
"html": false
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-search-editor",
|
|
|
|
"style": "wp-block-search"
|
2020-06-26 09:33:47 -04:00
|
|
|
}
|