2020-07-01 08:29:03 -04:00
|
|
|
{
|
2020-10-20 09:36:16 -04:00
|
|
|
"apiVersion": 2,
|
2020-07-01 08:29:03 -04:00
|
|
|
"name": "core/media-text",
|
|
|
|
"category": "media",
|
|
|
|
"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 09:10:30 -04:00
|
|
|
"mediaSizeSlug": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2020-07-01 08:29:03 -04:00
|
|
|
"isStackedOnMobile": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"verticalAlignment": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"imageFill": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"focalPoint": {
|
|
|
|
"type": "object"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
2020-07-07 10:43:35 -04:00
|
|
|
"anchor": true,
|
2020-10-13 09:10:30 -04:00
|
|
|
"align": [ "wide", "full" ],
|
2020-07-01 08:29:03 -04:00
|
|
|
"html": false,
|
2020-10-20 09:36:16 -04:00
|
|
|
"color": {
|
2020-07-01 08:29:03 -04:00
|
|
|
"gradients": true,
|
2020-10-20 09:36:16 -04:00
|
|
|
"link": true
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-media-text-editor",
|
|
|
|
"style": "wp-block-media-text"
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|