[ 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          "allowedBlocks": {
  94              "type": "array"
  95          },
  96          "useFeaturedImage": {
  97              "type": "boolean",
  98              "default": false
  99          }
 100      },
 101      "usesContext": [ "postId", "postType" ],
 102      "supports": {
 103          "anchor": true,
 104          "align": [ "wide", "full" ],
 105          "html": false,
 106          "__experimentalBorder": {
 107              "color": true,
 108              "radius": true,
 109              "style": true,
 110              "width": true,
 111              "__experimentalDefaultControls": {
 112                  "color": true,
 113                  "radius": true,
 114                  "style": true,
 115                  "width": true
 116              }
 117          },
 118          "color": {
 119              "gradients": true,
 120              "heading": true,
 121              "link": true,
 122              "__experimentalDefaultControls": {
 123                  "background": true,
 124                  "text": true
 125              }
 126          },
 127          "spacing": {
 128              "margin": true,
 129              "padding": true
 130          },
 131          "typography": {
 132              "fontSize": true,
 133              "lineHeight": true,
 134              "__experimentalFontFamily": true,
 135              "__experimentalFontWeight": true,
 136              "__experimentalFontStyle": true,
 137              "__experimentalTextTransform": true,
 138              "__experimentalTextDecoration": true,
 139              "__experimentalLetterSpacing": true,
 140              "__experimentalDefaultControls": {
 141                  "fontSize": true
 142              }
 143          },
 144          "interactivity": {
 145              "clientNavigation": true
 146          }
 147      },
 148      "editorStyle": "wp-block-media-text-editor",
 149      "style": "wp-block-media-text"
 150  }


Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref