equal
deleted
inserted
replaced
1 { |
1 { |
|
2 "apiVersion": 2, |
2 "name": "core/social-link", |
3 "name": "core/social-link", |
|
4 "title": "Social Icon", |
3 "category": "widgets", |
5 "category": "widgets", |
4 "parent": [ |
6 "parent": [ "core/social-links" ], |
5 "core/social-links" |
7 "description": "Display an icon linking to a social media profile or website.", |
6 ], |
8 "textdomain": "default", |
7 "attributes": { |
9 "attributes": { |
8 "url": { |
10 "url": { |
9 "type": "string" |
11 "type": "string" |
10 }, |
12 }, |
11 "service": { |
13 "service": { |
13 }, |
15 }, |
14 "label": { |
16 "label": { |
15 "type": "string" |
17 "type": "string" |
16 } |
18 } |
17 }, |
19 }, |
|
20 "usesContext": [ |
|
21 "openInNewTab", |
|
22 "iconColorValue", |
|
23 "iconBackgroundColorValue" |
|
24 ], |
18 "supports": { |
25 "supports": { |
19 "reusable": false, |
26 "reusable": false, |
20 "html": false, |
27 "html": false |
21 "lightBlockWrapper": true |
28 }, |
22 } |
29 "editorStyle": "wp-block-social-link-editor" |
23 } |
30 } |