WordPress/wp-includes/blocks/search/block.json
gziolo b8871304cf Editor: Update WordPress packages from Gutenberg 10.5
Applies changes between the Gutenberg plugin v10.4 and v10.5. It contains the latest version of WordPress packages and PHP changes applied to non-experimental features.

Props youknowriad.
See #52991.


Built from https://develop.svn.wordpress.org/trunk@50824


git-svn-id: http://core.svn.wordpress.org/trunk@50433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-07 11:48:27 +00:00

49 lines
873 B
JSON

{
"apiVersion": 2,
"name": "core/search",
"category": "widgets",
"attributes": {
"label": {
"type": "string",
"__experimentalRole": "content"
},
"showLabel": {
"type": "boolean",
"default": true
},
"placeholder": {
"type": "string",
"default": "",
"__experimentalRole": "content"
},
"width": {
"type": "number"
},
"widthUnit": {
"type": "string"
},
"buttonText": {
"type": "string",
"__experimentalRole": "content"
},
"buttonPosition": {
"type": "string",
"default": "button-outside"
},
"buttonUseIcon": {
"type": "boolean",
"default": false
}
},
"supports": {
"align": [ "left", "center", "right" ],
"__experimentalBorder": {
"radius": true,
"__experimentalSkipSerialization": true
},
"html": false
},
"editorStyle": "wp-block-search-editor",
"style": "wp-block-search"
}