2020-06-26 15:33:47 +02:00
|
|
|
{
|
2020-10-20 15:36:16 +02:00
|
|
|
"apiVersion": 2,
|
2020-06-26 15:33:47 +02:00
|
|
|
"name": "core/search",
|
|
|
|
"category": "widgets",
|
|
|
|
"attributes": {
|
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-10-13 15:10:30 +02:00
|
|
|
"showLabel": {
|
2020-10-20 15:36:16 +02:00
|
|
|
"type": "boolean",
|
2020-10-13 15:10:30 +02:00
|
|
|
"default": true
|
|
|
|
},
|
2020-06-26 15:33:47 +02:00
|
|
|
"placeholder": {
|
|
|
|
"type": "string",
|
|
|
|
"default": ""
|
|
|
|
},
|
2020-10-13 15:10:30 +02:00
|
|
|
"width": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"widthUnit": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-06-26 15:33:47 +02:00
|
|
|
"buttonText": {
|
|
|
|
"type": "string"
|
2020-10-13 15:10:30 +02:00
|
|
|
},
|
|
|
|
"buttonPosition": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "button-outside"
|
|
|
|
},
|
|
|
|
"buttonUseIcon": {
|
2020-10-20 15:36:16 +02:00
|
|
|
"type": "boolean",
|
2020-10-13 15:10:30 +02:00
|
|
|
"default": false
|
2020-06-26 15:33:47 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
2020-10-13 15:10:30 +02:00
|
|
|
"align": [ "left", "center", "right" ],
|
2020-10-20 15:36:16 +02:00
|
|
|
"html": false
|
2021-01-28 03:04:13 +01:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-search-editor",
|
|
|
|
"style": "wp-block-search"
|
2020-06-26 15:33:47 +02:00
|
|
|
}
|