[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/embed",
   5      "title": "Embed",
   6      "category": "embed",
   7      "description": "Add a block that displays content pulled from other sites, like Twitter or YouTube.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "url": {
  11              "type": "string",
  12              "__experimentalRole": "content"
  13          },
  14          "caption": {
  15              "type": "rich-text",
  16              "source": "rich-text",
  17              "selector": "figcaption",
  18              "__experimentalRole": "content"
  19          },
  20          "type": {
  21              "type": "string",
  22              "__experimentalRole": "content"
  23          },
  24          "providerNameSlug": {
  25              "type": "string",
  26              "__experimentalRole": "content"
  27          },
  28          "allowResponsive": {
  29              "type": "boolean",
  30              "default": true
  31          },
  32          "responsive": {
  33              "type": "boolean",
  34              "default": false,
  35              "__experimentalRole": "content"
  36          },
  37          "previewable": {
  38              "type": "boolean",
  39              "default": true,
  40              "__experimentalRole": "content"
  41          }
  42      },
  43      "supports": {
  44          "align": true,
  45          "spacing": {
  46              "margin": true
  47          },
  48          "interactivity": {
  49              "clientNavigation": true
  50          }
  51      },
  52      "editorStyle": "wp-block-embed-editor",
  53      "style": "wp-block-embed"
  54  }


Generated : Mon Apr 29 08:20:01 2024 Cross-referenced by PHPXref