mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 12:20:25 +01:00
00401e16b3
Updates the wordpress npm packages and their dependencies to the latest versions, as well as auto-updates to relevant core PHP files. Props youknowriad, joemcgill, spacedmonkey, ramonopoly, peterwilsoncc, bernhard-reiter, tyxla, dmsnell. Fixes #58623. Built from https://develop.svn.wordpress.org/trunk@56065 git-svn-id: http://core.svn.wordpress.org/trunk@55577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
130 lines
2.5 KiB
JSON
130 lines
2.5 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "core/media-text",
|
|
"title": "Media & Text",
|
|
"category": "media",
|
|
"description": "Set media and words side-by-side for a richer layout.",
|
|
"keywords": [ "image", "video" ],
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"align": {
|
|
"type": "string",
|
|
"default": "none"
|
|
},
|
|
"mediaAlt": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"selector": "figure img",
|
|
"attribute": "alt",
|
|
"default": "",
|
|
"__experimentalRole": "content"
|
|
},
|
|
"mediaPosition": {
|
|
"type": "string",
|
|
"default": "left"
|
|
},
|
|
"mediaId": {
|
|
"type": "number",
|
|
"__experimentalRole": "content"
|
|
},
|
|
"mediaUrl": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"selector": "figure video,figure img",
|
|
"attribute": "src",
|
|
"__experimentalRole": "content"
|
|
},
|
|
"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",
|
|
"__experimentalRole": "content"
|
|
},
|
|
"rel": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"selector": "figure a",
|
|
"attribute": "rel"
|
|
},
|
|
"linkClass": {
|
|
"type": "string",
|
|
"source": "attribute",
|
|
"selector": "figure a",
|
|
"attribute": "class"
|
|
},
|
|
"mediaType": {
|
|
"type": "string",
|
|
"__experimentalRole": "content"
|
|
},
|
|
"mediaWidth": {
|
|
"type": "number",
|
|
"default": 50
|
|
},
|
|
"mediaSizeSlug": {
|
|
"type": "string"
|
|
},
|
|
"isStackedOnMobile": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"verticalAlignment": {
|
|
"type": "string"
|
|
},
|
|
"imageFill": {
|
|
"type": "boolean"
|
|
},
|
|
"focalPoint": {
|
|
"type": "object"
|
|
},
|
|
"allowedBlocks": {
|
|
"type": "array"
|
|
}
|
|
},
|
|
"supports": {
|
|
"anchor": true,
|
|
"align": [ "wide", "full" ],
|
|
"html": false,
|
|
"color": {
|
|
"gradients": true,
|
|
"link": true,
|
|
"__experimentalDefaultControls": {
|
|
"background": true,
|
|
"text": true
|
|
}
|
|
},
|
|
"spacing": {
|
|
"margin": true,
|
|
"padding": true
|
|
},
|
|
"typography": {
|
|
"fontSize": true,
|
|
"lineHeight": true,
|
|
"__experimentalFontFamily": true,
|
|
"__experimentalFontWeight": true,
|
|
"__experimentalFontStyle": true,
|
|
"__experimentalTextTransform": true,
|
|
"__experimentalTextDecoration": true,
|
|
"__experimentalLetterSpacing": true,
|
|
"__experimentalDefaultControls": {
|
|
"fontSize": true
|
|
}
|
|
}
|
|
},
|
|
"editorStyle": "wp-block-media-text-editor",
|
|
"style": "wp-block-media-text"
|
|
}
|