PluginProbe
Gutenberg / 22.3.0
Gutenberg v22.3.0
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / build / scripts / block-library / search / block.json

block.json in Gutenberg 22.3.0, at build/scripts/block-library/search/block.json

96 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "core/search",
5 "title": "Search",
6 "category": "widgets",
7 "description": "Help visitors find your content.",
8 "keywords": [ "find" ],
9 "textdomain": "default",
10 "attributes": {
11 "label": {
12 "type": "string",
13 "role": "content"
14 },
15 "showLabel": {
16 "type": "boolean",
17 "default": true
18 },
19 "placeholder": {
20 "type": "string",
21 "default": "",
22 "role": "content"
23 },
24 "width": {
25 "type": "number"
26 },
27 "widthUnit": {
28 "type": "string"
29 },
30 "buttonText": {
31 "type": "string",
32 "role": "content"
33 },
34 "buttonPosition": {
35 "type": "string",
36 "default": "button-outside"
37 },
38 "buttonUseIcon": {
39 "type": "boolean",
40 "default": false
41 },
42 "query": {
43 "type": "object",
44 "default": {}
45 },
46 "isSearchFieldHidden": {
47 "type": "boolean",
48 "default": false
49 }
50 },
51 "supports": {
52 "align": [ "left", "center", "right" ],
53 "color": {
54 "gradients": true,
55 "__experimentalSkipSerialization": true,
56 "__experimentalDefaultControls": {
57 "background": true,
58 "text": true
59 }
60 },
61 "interactivity": true,
62 "typography": {
63 "__experimentalSkipSerialization": true,
64 "__experimentalSelector": ".wp-block-search__label, .wp-block-search__input, .wp-block-search__button",
65 "fontSize": true,
66 "lineHeight": true,
67 "__experimentalFontFamily": true,
68 "__experimentalFontWeight": true,
69 "__experimentalFontStyle": true,
70 "__experimentalTextTransform": true,
71 "__experimentalTextDecoration": true,
72 "__experimentalLetterSpacing": true,
73 "__experimentalDefaultControls": {
74 "fontSize": true
75 }
76 },
77 "__experimentalBorder": {
78 "color": true,
79 "radius": true,
80 "width": true,
81 "__experimentalSkipSerialization": true,
82 "__experimentalDefaultControls": {
83 "color": true,
84 "radius": true,
85 "width": true
86 }
87 },
88 "spacing": {
89 "margin": true
90 },
91 "html": false
92 },
93 "editorStyle": "wp-block-search-editor",
94 "style": "wp-block-search"
95 }
96