[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/comments",
   5      "title": "Comments",
   6      "category": "theme",
   7      "description": "An advanced block that allows displaying post comments using different visual configurations.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "tagName": {
  11              "type": "string",
  12              "default": "div"
  13          },
  14          "legacy": {
  15              "type": "boolean",
  16              "default": false
  17          }
  18      },
  19      "supports": {
  20          "anchor": true,
  21          "align": [ "wide", "full" ],
  22          "html": false,
  23          "background": {
  24              "backgroundImage": true,
  25              "backgroundSize": true,
  26              "gradient": true,
  27              "__experimentalDefaultControls": {
  28                  "backgroundImage": true,
  29                  "gradient": true
  30              }
  31          },
  32          "color": {
  33              "gradients": true,
  34              "button": true,
  35              "heading": true,
  36              "link": true,
  37              "__experimentalDefaultControls": {
  38                  "background": true,
  39                  "text": true,
  40                  "link": true
  41              }
  42          },
  43          "spacing": {
  44              "margin": true,
  45              "padding": true
  46          },
  47          "typography": {
  48              "fontSize": true,
  49              "lineHeight": true,
  50              "__experimentalFontFamily": true,
  51              "__experimentalFontWeight": true,
  52              "__experimentalFontStyle": true,
  53              "__experimentalTextTransform": true,
  54              "__experimentalTextDecoration": true,
  55              "__experimentalLetterSpacing": true,
  56              "__experimentalDefaultControls": {
  57                  "fontSize": true
  58              }
  59          },
  60          "__experimentalBorder": {
  61              "radius": true,
  62              "color": true,
  63              "width": true,
  64              "style": true,
  65              "__experimentalDefaultControls": {
  66                  "radius": true,
  67                  "color": true,
  68                  "width": true,
  69                  "style": true
  70              }
  71          }
  72      },
  73      "editorStyle": "wp-block-comments-editor",
  74      "usesContext": [ "postId", "postType" ]
  75  }


Generated : Thu Oct 15 08:20:32 2026 Cross-referenced by PHPXref