[ 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              "role": "content"
  17          },
  18          "linkTarget": {
  19              "type": "string",
  20              "default": "_self",
  21              "role": "content"
  22          },
  23          "shouldSyncIcon": {
  24              "type": "boolean"
  25          }
  26      },
  27      "example": {
  28          "viewportWidth": 500,
  29          "attributes": {
  30              "width": 350,
  31              "className": "block-editor-block-types-list__site-logo-example"
  32          }
  33      },
  34      "supports": {
  35          "html": false,
  36          "align": true,
  37          "alignWide": false,
  38          "color": {
  39              "text": false,
  40              "background": false
  41          },
  42          "spacing": {
  43              "margin": true,
  44              "padding": true,
  45              "__experimentalDefaultControls": {
  46                  "margin": false,
  47                  "padding": false
  48              }
  49          },
  50          "interactivity": {
  51              "clientNavigation": true
  52          },
  53          "filter": {
  54              "duotone": true
  55          }
  56      },
  57      "styles": [
  58          {
  59              "name": "default",
  60              "label": "Default",
  61              "isDefault": true
  62          },
  63          { "name": "rounded", "label": "Rounded" }
  64      ],
  65      "selectors": {
  66          "filter": {
  67              "duotone": ".wp-block-site-logo img, .wp-block-site-logo .components-placeholder__illustration, .wp-block-site-logo .components-placeholder::before"
  68          }
  69      },
  70      "editorStyle": "wp-block-site-logo-editor",
  71      "style": "wp-block-site-logo"
  72  }


Generated : Fri Oct 31 08:20:06 2025 Cross-referenced by PHPXref