PluginProbe
Gutenberg / 22.9.0
Gutenberg v22.9.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.9.0, at build/scripts/block-library/search/block.json

97 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 "anchor": true,
53 "align": [ "left", "center", "right" ],
54 "color": {
55 "gradients": true,
56 "__experimentalSkipSerialization": true,
57 "__experimentalDefaultControls": {
58 "background": true,
59 "text": true
60 }
61 },
62 "interactivity": true,
63 "typography": {
64 "__experimentalSkipSerialization": true,
65 "__experimentalSelector": ".wp-block-search__label, .wp-block-search__input, .wp-block-search__button",
66 "fontSize": true,
67 "lineHeight": true,
68 "__experimentalFontFamily": true,
69 "__experimentalFontWeight": true,
70 "__experimentalFontStyle": true,
71 "__experimentalTextTransform": true,
72 "__experimentalTextDecoration": true,
73 "__experimentalLetterSpacing": true,
74 "__experimentalDefaultControls": {
75 "fontSize": true
76 }
77 },
78 "__experimentalBorder": {
79 "color": true,
80 "radius": true,
81 "width": true,
82 "__experimentalSkipSerialization": true,
83 "__experimentalDefaultControls": {
84 "color": true,
85 "radius": true,
86 "width": true
87 }
88 },
89 "spacing": {
90 "margin": true
91 },
92 "html": false
93 },
94 "editorStyle": "wp-block-search-editor",
95 "style": "wp-block-search"
96 }
97