[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/site-title",
   5      "title": "Site Title",
   6      "category": "theme",
   7      "description": "Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "level": {
  11              "type": "number",
  12              "default": 1
  13          },
  14          "textAlign": {
  15              "type": "string"
  16          },
  17          "isLink": {
  18              "type": "boolean",
  19              "default": true
  20          },
  21          "linkTarget": {
  22              "type": "string",
  23              "default": "_self"
  24          }
  25      },
  26      "example": {
  27          "viewportWidth": 500
  28      },
  29      "supports": {
  30          "align": [ "wide", "full" ],
  31          "html": false,
  32          "color": {
  33              "gradients": true,
  34              "link": true,
  35              "__experimentalDefaultControls": {
  36                  "background": true,
  37                  "text": true,
  38                  "link": true
  39              }
  40          },
  41          "spacing": {
  42              "padding": true,
  43              "margin": true,
  44              "__experimentalDefaultControls": {
  45                  "margin": false,
  46                  "padding": false
  47              }
  48          },
  49          "typography": {
  50              "fontSize": true,
  51              "lineHeight": true,
  52              "__experimentalFontFamily": true,
  53              "__experimentalTextTransform": true,
  54              "__experimentalTextDecoration": true,
  55              "__experimentalFontStyle": true,
  56              "__experimentalFontWeight": true,
  57              "__experimentalLetterSpacing": true,
  58              "__experimentalDefaultControls": {
  59                  "fontSize": true
  60              }
  61          },
  62          "interactivity": {
  63              "clientNavigation": true
  64          }
  65      },
  66      "editorStyle": "wp-block-site-title-editor",
  67      "style": "wp-block-site-title"
  68  }


Generated : Fri May 3 08:20:01 2024 Cross-referenced by PHPXref