[ 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              "__experimentalDuotone": "img, .components-placeholder__illustration, .components-placeholder::before",
  40              "text": false,
  41              "background": false
  42          },
  43          "spacing": {
  44              "margin": true,
  45              "padding": true,
  46              "__experimentalDefaultControls": {
  47                  "margin": false,
  48                  "padding": false
  49              }
  50          },
  51          "interactivity": {
  52              "clientNavigation": true
  53          }
  54      },
  55      "styles": [
  56          {
  57              "name": "default",
  58              "label": "Default",
  59              "isDefault": true
  60          },
  61          { "name": "rounded", "label": "Rounded" }
  62      ],
  63      "editorStyle": "wp-block-site-logo-editor",
  64      "style": "wp-block-site-logo"
  65  }


Generated : Sat Feb 22 08:20:01 2025 Cross-referenced by PHPXref