PluginProbe
Gutenberg / 12.7.1
Gutenberg v12.7.1
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
gutenberg / build / block-library / blocks / media-text / block.json

block.json in Gutenberg 12.7.1, at build/block-library/blocks/media-text/block.json

105 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 2,
4 "name": "core/media-text",
5 "title": "Media & Text",
6 "category": "media",
7 "description": "Set media and words side-by-side for a richer layout.",
8 "keywords": [ "image", "video" ],
9 "textdomain": "default",
10 "attributes": {
11 "align": {
12 "type": "string",
13 "default": "wide"
14 },
15 "mediaAlt": {
16 "type": "string",
17 "source": "attribute",
18 "selector": "figure img",
19 "attribute": "alt",
20 "default": ""
21 },
22 "mediaPosition": {
23 "type": "string",
24 "default": "left"
25 },
26 "mediaId": {
27 "type": "number"
28 },
29 "mediaUrl": {
30 "type": "string",
31 "source": "attribute",
32 "selector": "figure video,figure img",
33 "attribute": "src"
34 },
35 "mediaLink": {
36 "type": "string"
37 },
38 "linkDestination": {
39 "type": "string"
40 },
41 "linkTarget": {
42 "type": "string",
43 "source": "attribute",
44 "selector": "figure a",
45 "attribute": "target"
46 },
47 "href": {
48 "type": "string",
49 "source": "attribute",
50 "selector": "figure a",
51 "attribute": "href"
52 },
53 "rel": {
54 "type": "string",
55 "source": "attribute",
56 "selector": "figure a",
57 "attribute": "rel"
58 },
59 "linkClass": {
60 "type": "string",
61 "source": "attribute",
62 "selector": "figure a",
63 "attribute": "class"
64 },
65 "mediaType": {
66 "type": "string"
67 },
68 "mediaWidth": {
69 "type": "number",
70 "default": 50
71 },
72 "mediaSizeSlug": {
73 "type": "string"
74 },
75 "isStackedOnMobile": {
76 "type": "boolean",
77 "default": true
78 },
79 "verticalAlignment": {
80 "type": "string"
81 },
82 "imageFill": {
83 "type": "boolean"
84 },
85 "focalPoint": {
86 "type": "object"
87 }
88 },
89 "supports": {
90 "anchor": true,
91 "align": [ "wide", "full" ],
92 "html": false,
93 "color": {
94 "gradients": true,
95 "link": true,
96 "__experimentalDefaultControls": {
97 "background": true,
98 "text": true
99 }
100 }
101 },
102 "editorStyle": "wp-block-media-text-editor",
103 "style": "wp-block-media-text"
104 }
105