[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/site-logo",
   5      "title": "Site Logo",
   6      "category": "theme",
   7      "description": "Display an image to represent this site. Update this block and the changes apply everywhere.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "width": {
  11              "type": "number"
  12          },
  13          "isLink": {
  14              "type": "boolean",
  15              "default": true
  16          },
  17          "linkTarget": {
  18              "type": "string",
  19              "default": "_self"
  20          },
  21          "shouldSyncIcon": {
  22              "type": "boolean"
  23          }
  24      },
  25      "example": {
  26          "viewportWidth": 500,
  27          "attributes": {
  28              "width": 350,
  29              "className": "block-editor-block-types-list__site-logo-example"
  30          }
  31      },
  32      "supports": {
  33          "html": false,
  34          "align": true,
  35          "alignWide": false,
  36          "color": {
  37              "__experimentalDuotone": "img, .components-placeholder__illustration, .components-placeholder::before",
  38              "text": false,
  39              "background": false
  40          },
  41          "spacing": {
  42              "margin": true,
  43              "padding": true,
  44              "__experimentalDefaultControls": {
  45                  "margin": false,
  46                  "padding": false
  47              }
  48          },
  49          "interactivity": {
  50              "clientNavigation": true
  51          }
  52      },
  53      "styles": [
  54          {
  55              "name": "default",
  56              "label": "Default",
  57              "isDefault": true
  58          },
  59          { "name": "rounded", "label": "Rounded" }
  60      ],
  61      "editorStyle": "wp-block-site-logo-editor",
  62      "style": "wp-block-site-logo"
  63  }


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref