2020-07-01 14:29:03 +02:00
|
|
|
{
|
2020-10-20 15:36:16 +02:00
|
|
|
"apiVersion": 2,
|
2020-07-01 14:29:03 +02:00
|
|
|
"name": "core/media-text",
|
2021-05-19 17:09:27 +02:00
|
|
|
"title": "Media & Text",
|
2020-07-01 14:29:03 +02:00
|
|
|
"category": "media",
|
2021-05-19 17:09:27 +02:00
|
|
|
"description": "Set media and words side-by-side for a richer layout.",
|
|
|
|
"keywords": [ "image", "video" ],
|
|
|
|
"textdomain": "default",
|
2020-07-01 14:29:03 +02:00
|
|
|
"attributes": {
|
|
|
|
"align": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "wide"
|
|
|
|
},
|
|
|
|
"mediaAlt": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "attribute",
|
|
|
|
"selector": "figure img",
|
|
|
|
"attribute": "alt",
|
|
|
|
"default": ""
|
|
|
|
},
|
|
|
|
"mediaPosition": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "left"
|
|
|
|
},
|
|
|
|
"mediaId": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"mediaUrl": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "attribute",
|
|
|
|
"selector": "figure video,figure img",
|
|
|
|
"attribute": "src"
|
|
|
|
},
|
|
|
|
"mediaLink": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"linkDestination": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"linkTarget": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "attribute",
|
|
|
|
"selector": "figure a",
|
|
|
|
"attribute": "target"
|
|
|
|
},
|
|
|
|
"href": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "attribute",
|
|
|
|
"selector": "figure a",
|
|
|
|
"attribute": "href"
|
|
|
|
},
|
|
|
|
"rel": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "attribute",
|
|
|
|
"selector": "figure a",
|
|
|
|
"attribute": "rel"
|
|
|
|
},
|
|
|
|
"linkClass": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "attribute",
|
|
|
|
"selector": "figure a",
|
|
|
|
"attribute": "class"
|
|
|
|
},
|
|
|
|
"mediaType": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"mediaWidth": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 50
|
|
|
|
},
|
2020-10-13 15:10:30 +02:00
|
|
|
"mediaSizeSlug": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-07-01 14:29:03 +02:00
|
|
|
"isStackedOnMobile": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"verticalAlignment": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"imageFill": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"focalPoint": {
|
|
|
|
"type": "object"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
2020-07-07 16:43:35 +02:00
|
|
|
"anchor": true,
|
2020-10-13 15:10:30 +02:00
|
|
|
"align": [ "wide", "full" ],
|
2020-07-01 14:29:03 +02:00
|
|
|
"html": false,
|
2020-10-20 15:36:16 +02:00
|
|
|
"color": {
|
2020-07-01 14:29:03 +02:00
|
|
|
"gradients": true,
|
2020-10-20 15:36:16 +02:00
|
|
|
"link": true
|
2020-07-01 14:29:03 +02:00
|
|
|
}
|
2021-01-28 03:04:13 +01:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-media-text-editor",
|
|
|
|
"style": "wp-block-media-text"
|
2020-07-01 14:29:03 +02:00
|
|
|
}
|