equal
deleted
inserted
replaced
1 { |
1 { |
2 "$schema": "https://schemas.wp.org/trunk/block.json", |
2 "$schema": "https://schemas.wp.org/trunk/block.json", |
3 "apiVersion": 2, |
3 "apiVersion": 3, |
4 "name": "core/social-link", |
4 "name": "core/social-link", |
5 "title": "Social Icon", |
5 "title": "Social Icon", |
6 "category": "widgets", |
6 "category": "widgets", |
7 "parent": [ "core/social-links" ], |
7 "parent": [ "core/social-links" ], |
8 "description": "Display an icon linking to a social media profile or site.", |
8 "description": "Display an icon linking to a social profile or site.", |
9 "textdomain": "default", |
9 "textdomain": "default", |
10 "attributes": { |
10 "attributes": { |
11 "url": { |
11 "url": { |
12 "type": "string" |
12 "type": "string" |
13 }, |
13 }, |
14 "service": { |
14 "service": { |
15 "type": "string" |
15 "type": "string" |
16 }, |
16 }, |
17 "label": { |
17 "label": { |
18 "type": "string" |
18 "type": "string" |
|
19 }, |
|
20 "rel": { |
|
21 "type": "string" |
19 } |
22 } |
20 }, |
23 }, |
21 "usesContext": [ |
24 "usesContext": [ |
22 "openInNewTab", |
25 "openInNewTab", |
23 "showLabels", |
26 "showLabels", |
|
27 "iconColor", |
24 "iconColorValue", |
28 "iconColorValue", |
|
29 "iconBackgroundColor", |
25 "iconBackgroundColorValue" |
30 "iconBackgroundColorValue" |
26 ], |
31 ], |
27 "supports": { |
32 "supports": { |
28 "reusable": false, |
33 "reusable": false, |
29 "html": false |
34 "html": false, |
|
35 "interactivity": { |
|
36 "clientNavigation": true |
|
37 } |
30 }, |
38 }, |
31 "editorStyle": "wp-block-social-link-editor" |
39 "editorStyle": "wp-block-social-link-editor" |
32 } |
40 } |