author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:52:52 +0200 | |
changeset 22 | 8c2e4d02f4ef |
parent 21 | 48c4eec2b7e6 |
permissions | -rw-r--r-- |
16 | 1 |
{ |
19 | 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
3 |
"apiVersion": 3, |
16 | 4 |
"name": "core/search", |
18 | 5 |
"title": "Search", |
16 | 6 |
"category": "widgets", |
18 | 7 |
"description": "Help visitors find your content.", |
8 |
"keywords": [ "find" ], |
|
9 |
"textdomain": "default", |
|
16 | 10 |
"attributes": { |
18 | 11 |
"label": { |
16 | 12 |
"type": "string", |
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
13 |
"role": "content" |
16 | 14 |
}, |
18 | 15 |
"showLabel": { |
16 |
"type": "boolean", |
|
17 |
"default": true |
|
16 | 18 |
}, |
19 |
"placeholder": { |
|
20 |
"type": "string", |
|
18 | 21 |
"default": "", |
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
22 |
"role": "content" |
18 | 23 |
}, |
24 |
"width": { |
|
25 |
"type": "number" |
|
26 |
}, |
|
27 |
"widthUnit": { |
|
28 |
"type": "string" |
|
16 | 29 |
}, |
30 |
"buttonText": { |
|
18 | 31 |
"type": "string", |
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
32 |
"role": "content" |
18 | 33 |
}, |
34 |
"buttonPosition": { |
|
35 |
"type": "string", |
|
36 |
"default": "button-outside" |
|
37 |
}, |
|
38 |
"buttonUseIcon": { |
|
39 |
"type": "boolean", |
|
40 |
"default": false |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
41 |
}, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
42 |
"query": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
43 |
"type": "object", |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
44 |
"default": {} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
45 |
}, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
46 |
"isSearchFieldHidden": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
47 |
"type": "boolean", |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
48 |
"default": false |
16 | 49 |
} |
50 |
}, |
|
51 |
"supports": { |
|
18 | 52 |
"align": [ "left", "center", "right" ], |
19 | 53 |
"color": { |
54 |
"gradients": true, |
|
55 |
"__experimentalSkipSerialization": true, |
|
56 |
"__experimentalDefaultControls": { |
|
57 |
"background": true, |
|
58 |
"text": true |
|
59 |
} |
|
60 |
}, |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
61 |
"interactivity": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
62 |
"typography": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
63 |
"__experimentalSkipSerialization": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
64 |
"__experimentalSelector": ".wp-block-search__label, .wp-block-search__input, .wp-block-search__button", |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
65 |
"fontSize": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
66 |
"lineHeight": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
67 |
"__experimentalFontFamily": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
68 |
"__experimentalFontWeight": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
69 |
"__experimentalFontStyle": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
70 |
"__experimentalTextTransform": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
71 |
"__experimentalTextDecoration": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
72 |
"__experimentalLetterSpacing": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
73 |
"__experimentalDefaultControls": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
74 |
"fontSize": true |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
75 |
} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
76 |
}, |
18 | 77 |
"__experimentalBorder": { |
19 | 78 |
"color": true, |
18 | 79 |
"radius": true, |
19 | 80 |
"width": true, |
81 |
"__experimentalSkipSerialization": true, |
|
82 |
"__experimentalDefaultControls": { |
|
83 |
"color": true, |
|
84 |
"radius": true, |
|
85 |
"width": true |
|
86 |
} |
|
18 | 87 |
}, |
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
88 |
"spacing": { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
89 |
"margin": true |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
90 |
}, |
16 | 91 |
"html": false |
18 | 92 |
}, |
93 |
"editorStyle": "wp-block-search-editor", |
|
94 |
"style": "wp-block-search" |
|
16 | 95 |
} |