Diff: STRATO-apps/wordpress_03/app/wp-includes/blocks/image/block.json

Keine Baseline-Datei – Diff nur gegen leer.
Zur Liste
1 -
1 + {
2 + "$schema": "https://schemas.wp.org/trunk/block.json",
3 + "apiVersion": 3,
4 + "name": "core/image",
5 + "title": "Image",
6 + "category": "media",
7 + "usesContext": [
8 + "allowResize",
9 + "imageCrop",
10 + "fixedHeight",
11 + "postId",
12 + "postType",
13 + "queryId"
14 + ],
15 + "description": "Insert an image to make a visual statement.",
16 + "keywords": [ "img", "photo", "picture" ],
17 + "textdomain": "default",
18 + "attributes": {
19 + "blob": {
20 + "type": "string",
21 + "role": "local"
22 + },
23 + "url": {
24 + "type": "string",
25 + "source": "attribute",
26 + "selector": "img",
27 + "attribute": "src",
28 + "role": "content"
29 + },
30 + "alt": {
31 + "type": "string",
32 + "source": "attribute",
33 + "selector": "img",
34 + "attribute": "alt",
35 + "default": "",
36 + "role": "content"
37 + },
38 + "caption": {
39 + "type": "rich-text",
40 + "source": "rich-text",
41 + "selector": "figcaption",
42 + "role": "content"
43 + },
44 + "lightbox": {
45 + "type": "object",
46 + "enabled": {
47 + "type": "boolean"
48 + }
49 + },
50 + "title": {
51 + "type": "string",
52 + "source": "attribute",
53 + "selector": "img",
54 + "attribute": "title",
55 + "role": "content"
56 + },
57 + "href": {
58 + "type": "string",
59 + "source": "attribute",
60 + "selector": "figure > a",
61 + "attribute": "href",
62 + "role": "content"
63 + },
64 + "rel": {
65 + "type": "string",
66 + "source": "attribute",
67 + "selector": "figure > a",
68 + "attribute": "rel"
69 + },
70 + "linkClass": {
71 + "type": "string",
72 + "source": "attribute",
73 + "selector": "figure > a",
74 + "attribute": "class"
75 + },
76 + "id": {
77 + "type": "number",
78 + "role": "content"
79 + },
80 + "width": {
81 + "type": "string"
82 + },
83 + "height": {
84 + "type": "string"
85 + },
86 + "aspectRatio": {
87 + "type": "string"
88 + },
89 + "scale": {
90 + "type": "string"
91 + },
92 + "sizeSlug": {
93 + "type": "string"
94 + },
95 + "linkDestination": {
96 + "type": "string"
97 + },
98 + "linkTarget": {
99 + "type": "string",
100 + "source": "attribute",
101 + "selector": "figure > a",
102 + "attribute": "target"
103 + }
104 + },
105 + "supports": {
106 + "interactivity": true,
107 + "align": [ "left", "center", "right", "wide", "full" ],
108 + "anchor": true,
109 + "color": {
110 + "text": false,
111 + "background": false
112 + },
113 + "filter": {
114 + "duotone": true
115 + },
116 + "spacing": {
117 + "margin": true
118 + },
119 + "__experimentalBorder": {
120 + "color": true,
121 + "radius": true,
122 + "width": true,
123 + "__experimentalSkipSerialization": true,
124 + "__experimentalDefaultControls": {
125 + "color": true,
126 + "radius": true,
127 + "width": true
128 + }
129 + },
130 + "shadow": {
131 + "__experimentalSkipSerialization": true
132 + }
133 + },
134 + "selectors": {
135 + "border": ".wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder",
136 + "shadow": ".wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder",
137 + "filter": {
138 + "duotone": ".wp-block-image img, .wp-block-image .components-placeholder"
139 + }
140 + },
141 + "styles": [
142 + {
143 + "name": "default",
144 + "label": "Default",
145 + "isDefault": true
146 + },
147 + { "name": "rounded", "label": "Rounded" }
148 + ],
149 + "editorStyle": "wp-block-image-editor",
150 + "style": "wp-block-image"
151 + }
152 +