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-- |
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/social-link", |
18 | 5 |
"title": "Social Icon", |
16 | 6 |
"category": "widgets", |
18 | 7 |
"parent": [ "core/social-links" ], |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
8 |
"description": "Display an icon linking to a social profile or site.", |
18 | 9 |
"textdomain": "default", |
16 | 10 |
"attributes": { |
11 |
"url": { |
|
12 |
"type": "string" |
|
13 |
}, |
|
14 |
"service": { |
|
15 |
"type": "string" |
|
16 |
}, |
|
17 |
"label": { |
|
18 |
"type": "string" |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
19 |
}, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
20 |
"rel": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
21 |
"type": "string" |
16 | 22 |
} |
23 |
}, |
|
18 | 24 |
"usesContext": [ |
25 |
"openInNewTab", |
|
19 | 26 |
"showLabels", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
27 |
"iconColor", |
18 | 28 |
"iconColorValue", |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
29 |
"iconBackgroundColor", |
18 | 30 |
"iconBackgroundColorValue" |
31 |
], |
|
16 | 32 |
"supports": { |
33 |
"reusable": false, |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
34 |
"html": false, |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
35 |
"interactivity": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
36 |
"clientNavigation": true |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
37 |
} |
18 | 38 |
}, |
39 |
"editorStyle": "wp-block-social-link-editor" |
|
16 | 40 |
} |