[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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


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