[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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


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