[ 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          },
  17          "linkTarget": {
  18              "type": "string",
  19              "default": "_self"
  20          }
  21      },
  22      "usesContext": [ "postType", "postId" ],
  23      "example": {
  24          "viewportWidth": 350
  25      },
  26      "supports": {
  27          "html": false,
  28          "spacing": {
  29              "margin": true,
  30              "padding": true
  31          },
  32          "color": {
  33              "gradients": true,
  34              "link": true,
  35              "__experimentalDefaultControls": {
  36                  "background": true,
  37                  "text": true,
  38                  "link": true
  39              }
  40          },
  41          "typography": {
  42              "fontSize": true,
  43              "lineHeight": true,
  44              "__experimentalFontFamily": true,
  45              "__experimentalFontWeight": true,
  46              "__experimentalFontStyle": true,
  47              "__experimentalTextTransform": true,
  48              "__experimentalTextDecoration": true,
  49              "__experimentalLetterSpacing": true,
  50              "__experimentalDefaultControls": {
  51                  "fontSize": true
  52              }
  53          },
  54          "interactivity": {
  55              "clientNavigation": true
  56          },
  57          "__experimentalBorder": {
  58              "radius": true,
  59              "color": true,
  60              "width": true,
  61              "style": true,
  62              "__experimentalDefaultControls": {
  63                  "radius": true,
  64                  "color": true,
  65                  "width": true,
  66                  "style": true
  67              }
  68          }
  69      },
  70      "style": "wp-block-post-author-name"
  71  }


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