author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:40:08 +0200 | |
changeset 21 | 48c4eec2b7e6 |
parent 19 | 3d72ae0968f4 |
child 22 | 8c2e4d02f4ef |
permissions | -rw-r--r-- |
18 | 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, |
18 | 4 |
"name": "core/site-logo", |
5 |
"title": "Site Logo", |
|
19 | 6 |
"category": "theme", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
7 |
"description": "Display an image to represent this site. Update this block and the changes apply everywhere.", |
18 | 8 |
"textdomain": "default", |
9 |
"attributes": { |
|
10 |
"width": { |
|
11 |
"type": "number" |
|
12 |
}, |
|
13 |
"isLink": { |
|
14 |
"type": "boolean", |
|
15 |
"default": true |
|
16 |
}, |
|
17 |
"linkTarget": { |
|
18 |
"type": "string", |
|
19 |
"default": "_self" |
|
19 | 20 |
}, |
21 |
"shouldSyncIcon": { |
|
22 |
"type": "boolean" |
|
23 |
} |
|
24 |
}, |
|
25 |
"example": { |
|
26 |
"viewportWidth": 500, |
|
27 |
"attributes": { |
|
28 |
"width": 350, |
|
29 |
"className": "block-editor-block-types-list__site-logo-example" |
|
18 | 30 |
} |
31 |
}, |
|
32 |
"supports": { |
|
33 |
"html": false, |
|
34 |
"align": true, |
|
19 | 35 |
"alignWide": false, |
36 |
"color": { |
|
37 |
"__experimentalDuotone": "img, .components-placeholder__illustration, .components-placeholder::before", |
|
38 |
"text": false, |
|
39 |
"background": false |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
40 |
}, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
41 |
"spacing": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
42 |
"margin": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
43 |
"padding": true, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
44 |
"__experimentalDefaultControls": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
45 |
"margin": false, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
46 |
"padding": false |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
47 |
} |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
48 |
}, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
49 |
"interactivity": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
50 |
"clientNavigation": true |
19 | 51 |
} |
18 | 52 |
}, |
53 |
"styles": [ |
|
54 |
{ |
|
55 |
"name": "default", |
|
56 |
"label": "Default", |
|
57 |
"isDefault": true |
|
58 |
}, |
|
59 |
{ "name": "rounded", "label": "Rounded" } |
|
60 |
], |
|
61 |
"editorStyle": "wp-block-site-logo-editor", |
|
62 |
"style": "wp-block-site-logo" |
|
63 |
} |