[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-title",
   5      "title": "Title",
   6      "category": "theme",
   7      "description": "Displays the title of a post, page, or any other content-type.",
   8      "textdomain": "default",
   9      "usesContext": [ "postId", "postType", "queryId" ],
  10      "attributes": {
  11          "textAlign": {
  12              "type": "string"
  13          },
  14          "level": {
  15              "type": "number",
  16              "default": 2
  17          },
  18          "levelOptions": {
  19              "type": "array"
  20          },
  21          "isLink": {
  22              "type": "boolean",
  23              "default": false
  24          },
  25          "rel": {
  26              "type": "string",
  27              "attribute": "rel",
  28              "default": ""
  29          },
  30          "linkTarget": {
  31              "type": "string",
  32              "default": "_self"
  33          }
  34      },
  35      "example": {
  36          "viewportWidth": 350
  37      },
  38      "supports": {
  39          "align": [ "wide", "full" ],
  40          "html": false,
  41          "color": {
  42              "gradients": true,
  43              "link": true,
  44              "__experimentalDefaultControls": {
  45                  "background": true,
  46                  "text": true,
  47                  "link": true
  48              }
  49          },
  50          "spacing": {
  51              "margin": true,
  52              "padding": true
  53          },
  54          "typography": {
  55              "fontSize": true,
  56              "lineHeight": true,
  57              "__experimentalFontFamily": true,
  58              "__experimentalFontWeight": true,
  59              "__experimentalFontStyle": true,
  60              "__experimentalTextTransform": true,
  61              "__experimentalTextDecoration": true,
  62              "__experimentalLetterSpacing": true,
  63              "__experimentalDefaultControls": {
  64                  "fontSize": true
  65              }
  66          },
  67          "interactivity": {
  68              "clientNavigation": true
  69          },
  70          "__experimentalBorder": {
  71              "radius": true,
  72              "color": true,
  73              "width": true,
  74              "style": true,
  75              "__experimentalDefaultControls": {
  76                  "radius": true,
  77                  "color": true,
  78                  "width": true,
  79                  "style": true
  80              }
  81          }
  82      },
  83      "style": "wp-block-post-title"
  84  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref