mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-06 19:01:44 +01:00
b8871304cf
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
49 lines
873 B
JSON
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"
|
|
}
|