2020-06-26 09:33:47 -04:00
|
|
|
{
|
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-04-15 11:19:43 -04:00
|
|
|
"__experimentalBorder": {
|
|
|
|
"radius": true,
|
|
|
|
"__experimentalSkipSerialization": true
|
|
|
|
},
|
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
|
|
|
}
|