[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/media-text/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   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": "none"
  14          },
  15          "mediaAlt": {
  16              "type": "string",
  17              "source": "attribute",
  18              "selector": "figure img",
  19              "attribute": "alt",
  20              "default": "",
  21              "role": "content"
  22          },
  23          "mediaPosition": {
  24              "type": "string",
  25              "default": "left"
  26          },
  27          "mediaId": {
  28              "type": "number",
  29              "role": "content"
  30          },
  31          "mediaUrl": {
  32              "type": "string",
  33              "source": "attribute",
  34              "selector": "figure video,figure img",
  35              "attribute": "src",
  36              "role": "content"
  37          },
  38          "mediaLink": {
  39              "type": "string"
  40          },
  41          "linkDestination": {
  42              "type": "string"
  43          },
  44          "linkTarget": {
  45              "type": "string",
  46              "source": "attribute",
  47              "selector": "figure a",
  48              "attribute": "target"
  49          },
  50          "href": {
  51              "type": "string",
  52              "source": "attribute",
  53              "selector": "figure a",
  54              "attribute": "href",
  55              "role": "content"
  56          },
  57          "rel": {
  58              "type": "string",
  59              "source": "attribute",
  60              "selector": "figure a",
  61              "attribute": "rel"
  62          },
  63          "linkClass": {
  64              "type": "string",
  65              "source": "attribute",
  66              "selector": "figure a",
  67              "attribute": "class"
  68          },
  69          "mediaType": {
  70              "type": "string",
  71              "role": "content"
  72          },
  73          "mediaWidth": {
  74              "type": "number",
  75              "default": 50
  76          },
  77          "mediaSizeSlug": {
  78              "type": "string"
  79          },
  80          "isStackedOnMobile": {
  81              "type": "boolean",
  82              "default": true
  83          },
  84          "verticalAlignment": {
  85              "type": "string"
  86          },
  87          "imageFill": {
  88              "type": "boolean"
  89          },
  90          "focalPoint": {
  91              "type": "object"
  92          },
  93          "useFeaturedImage": {
  94              "type": "boolean",
  95              "default": false
  96          }
  97      },
  98      "usesContext": [ "postId", "postType" ],
  99      "supports": {
 100          "anchor": true,
 101          "align": [ "wide", "full" ],
 102          "html": false,
 103          "__experimentalBorder": {
 104              "color": true,
 105              "radius": true,
 106              "style": true,
 107              "width": true,
 108              "__experimentalDefaultControls": {
 109                  "color": true,
 110                  "radius": true,
 111                  "style": true,
 112                  "width": true
 113              }
 114          },
 115          "color": {
 116              "gradients": true,
 117              "heading": true,
 118              "link": true,
 119              "__experimentalDefaultControls": {
 120                  "background": true,
 121                  "text": true
 122              }
 123          },
 124          "spacing": {
 125              "margin": true,
 126              "padding": true
 127          },
 128          "typography": {
 129              "fontSize": true,
 130              "lineHeight": true,
 131              "__experimentalFontFamily": true,
 132              "__experimentalFontWeight": true,
 133              "__experimentalFontStyle": true,
 134              "__experimentalTextTransform": true,
 135              "__experimentalTextDecoration": true,
 136              "__experimentalLetterSpacing": true,
 137              "__experimentalDefaultControls": {
 138                  "fontSize": true
 139              }
 140          },
 141          "interactivity": {
 142              "clientNavigation": true
 143          },
 144          "allowedBlocks": true
 145      },
 146      "editorStyle": "wp-block-media-text-editor",
 147      "style": "wp-block-media-text"
 148  }


Generated : Sat Oct 25 08:20:05 2025 Cross-referenced by PHPXref