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",
|
|
|
|
"category": "widgets",
|
|
|
|
"attributes": {
|
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
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",
|
|
|
|
"default": ""
|
|
|
|
},
|
2020-10-13 09:10:30 -04:00
|
|
|
"width": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"widthUnit": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-06-26 09:33:47 -04:00
|
|
|
"buttonText": {
|
|
|
|
"type": "string"
|
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" ],
|
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
|
|
|
}
|