first commit
This commit is contained in:
41
wp-includes/blocks/search/block.json
Normal file
41
wp-includes/blocks/search/block.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"apiVersion": 2,
|
||||
"name": "core/search",
|
||||
"category": "widgets",
|
||||
"attributes": {
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
"showLabel": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"placeholder": {
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"width": {
|
||||
"type": "number"
|
||||
},
|
||||
"widthUnit": {
|
||||
"type": "string"
|
||||
},
|
||||
"buttonText": {
|
||||
"type": "string"
|
||||
},
|
||||
"buttonPosition": {
|
||||
"type": "string",
|
||||
"default": "button-outside"
|
||||
},
|
||||
"buttonUseIcon": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"align": [ "left", "center", "right" ],
|
||||
"html": false
|
||||
},
|
||||
"editorStyle": "wp-block-search-editor",
|
||||
"style": "wp-block-search"
|
||||
}
|
||||
Reference in New Issue
Block a user