2020-06-26 15:33:47 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 15:36:16 +02:00
|
|
|
"apiVersion": 2,
|
2020-06-26 15:33:47 +02:00
|
|
|
"name": "core/search",
|
2021-05-19 17:09:27 +02:00
|
|
|
"title": "Search",
|
2020-06-26 15:33:47 +02:00
|
|
|
"category": "widgets",
|
2021-05-19 17:09:27 +02:00
|
|
|
"description": "Help visitors find your content.",
|
|
|
|
"keywords": [ "find" ],
|
|
|
|
"textdomain": "default",
|
2020-06-26 15:33:47 +02:00
|
|
|
"attributes": {
|
|
|
|
"label": {
|
2021-05-07 13:48:27 +02:00
|
|
|
"type": "string",
|
|
|
|
"__experimentalRole": "content"
|
2020-06-26 15:33:47 +02:00
|
|
|
},
|
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",
|
2021-05-07 13:48:27 +02:00
|
|
|
"default": "",
|
|
|
|
"__experimentalRole": "content"
|
2020-06-26 15:33:47 +02:00
|
|
|
},
|
2020-10-13 15:10:30 +02:00
|
|
|
"width": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"widthUnit": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-06-26 15:33:47 +02:00
|
|
|
"buttonText": {
|
2021-05-07 13:48:27 +02:00
|
|
|
"type": "string",
|
|
|
|
"__experimentalRole": "content"
|
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" ],
|
2021-11-08 15:29:21 +01:00
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
2022-04-12 17:12:47 +02:00
|
|
|
"__experimentalSkipSerialization": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true
|
|
|
|
}
|
2021-11-08 15:29:21 +01:00
|
|
|
},
|
2021-04-15 17:19:43 +02:00
|
|
|
"__experimentalBorder": {
|
2021-11-08 15:29:21 +01:00
|
|
|
"color": true,
|
2021-04-15 17:19:43 +02:00
|
|
|
"radius": true,
|
2022-04-12 17:12:47 +02:00
|
|
|
"width": true,
|
|
|
|
"__experimentalSkipSerialization": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"color": true,
|
|
|
|
"radius": true,
|
|
|
|
"width": true
|
|
|
|
}
|
2021-04-15 17:19:43 +02:00
|
|
|
},
|
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
|
|
|
}
|