equal
deleted
inserted
replaced
|
1 { |
|
2 "name": "core/media-text", |
|
3 "category": "media", |
|
4 "attributes": { |
|
5 "align": { |
|
6 "type": "string", |
|
7 "default": "wide" |
|
8 }, |
|
9 "mediaAlt": { |
|
10 "type": "string", |
|
11 "source": "attribute", |
|
12 "selector": "figure img", |
|
13 "attribute": "alt", |
|
14 "default": "" |
|
15 }, |
|
16 "mediaPosition": { |
|
17 "type": "string", |
|
18 "default": "left" |
|
19 }, |
|
20 "mediaId": { |
|
21 "type": "number" |
|
22 }, |
|
23 "mediaUrl": { |
|
24 "type": "string", |
|
25 "source": "attribute", |
|
26 "selector": "figure video,figure img", |
|
27 "attribute": "src" |
|
28 }, |
|
29 "mediaLink": { |
|
30 "type": "string" |
|
31 }, |
|
32 "linkDestination": { |
|
33 "type": "string" |
|
34 }, |
|
35 "linkTarget": { |
|
36 "type": "string", |
|
37 "source": "attribute", |
|
38 "selector": "figure a", |
|
39 "attribute": "target" |
|
40 }, |
|
41 "href": { |
|
42 "type": "string", |
|
43 "source": "attribute", |
|
44 "selector": "figure a", |
|
45 "attribute": "href" |
|
46 }, |
|
47 "rel": { |
|
48 "type": "string", |
|
49 "source": "attribute", |
|
50 "selector": "figure a", |
|
51 "attribute": "rel" |
|
52 }, |
|
53 "linkClass": { |
|
54 "type": "string", |
|
55 "source": "attribute", |
|
56 "selector": "figure a", |
|
57 "attribute": "class" |
|
58 }, |
|
59 "mediaType": { |
|
60 "type": "string" |
|
61 }, |
|
62 "mediaWidth": { |
|
63 "type": "number", |
|
64 "default": 50 |
|
65 }, |
|
66 "isStackedOnMobile": { |
|
67 "type": "boolean", |
|
68 "default": true |
|
69 }, |
|
70 "verticalAlignment": { |
|
71 "type": "string" |
|
72 }, |
|
73 "imageFill": { |
|
74 "type": "boolean" |
|
75 }, |
|
76 "focalPoint": { |
|
77 "type": "object" |
|
78 } |
|
79 }, |
|
80 "supports": { |
|
81 "anchor": true, |
|
82 "align": [ |
|
83 "wide", |
|
84 "full" |
|
85 ], |
|
86 "html": false, |
|
87 "lightBlockWrapper": true, |
|
88 "__experimentalColor": { |
|
89 "gradients": true, |
|
90 "linkColor": true |
|
91 } |
|
92 } |
|
93 } |