equal
deleted
inserted
replaced
7 "description": "Display a post's featured image.", |
7 "description": "Display a post's featured image.", |
8 "textdomain": "default", |
8 "textdomain": "default", |
9 "attributes": { |
9 "attributes": { |
10 "isLink": { |
10 "isLink": { |
11 "type": "boolean", |
11 "type": "boolean", |
12 "default": false |
12 "default": false, |
|
13 "role": "content" |
13 }, |
14 }, |
14 "aspectRatio": { |
15 "aspectRatio": { |
15 "type": "string" |
16 "type": "string" |
16 }, |
17 }, |
17 "width": { |
18 "width": { |
28 "type": "string" |
29 "type": "string" |
29 }, |
30 }, |
30 "rel": { |
31 "rel": { |
31 "type": "string", |
32 "type": "string", |
32 "attribute": "rel", |
33 "attribute": "rel", |
33 "default": "" |
34 "default": "", |
|
35 "role": "content" |
34 }, |
36 }, |
35 "linkTarget": { |
37 "linkTarget": { |
36 "type": "string", |
38 "type": "string", |
37 "default": "_self" |
39 "default": "_self", |
|
40 "role": "content" |
38 }, |
41 }, |
39 "overlayColor": { |
42 "overlayColor": { |
40 "type": "string" |
43 "type": "string" |
41 }, |
44 }, |
42 "customOverlayColor": { |
45 "customOverlayColor": { |
56 "type": "boolean", |
59 "type": "boolean", |
57 "default": false |
60 "default": false |
58 } |
61 } |
59 }, |
62 }, |
60 "usesContext": [ "postId", "postType", "queryId" ], |
63 "usesContext": [ "postId", "postType", "queryId" ], |
|
64 "example": { |
|
65 "viewportWidth": 350 |
|
66 }, |
61 "supports": { |
67 "supports": { |
62 "align": [ "left", "right", "center", "wide", "full" ], |
68 "align": [ "left", "right", "center", "wide", "full" ], |
63 "color": { |
69 "color": { |
64 "text": false, |
70 "text": false, |
65 "background": false |
71 "background": false |