[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-comments-form",
   5      "title": "Comments Form",
   6      "category": "theme",
   7      "description": "Display a post's comments form.",
   8      "textdomain": "default",
   9      "usesContext": [ "postId", "postType" ],
  10      "supports": {
  11          "anchor": true,
  12          "html": false,
  13          "background": {
  14              "backgroundImage": true,
  15              "backgroundSize": true,
  16              "gradient": true,
  17              "__experimentalDefaultControls": {
  18                  "backgroundImage": true,
  19                  "gradient": true
  20              }
  21          },
  22          "color": {
  23              "button": true,
  24              "gradients": true,
  25              "heading": true,
  26              "link": true,
  27              "__experimentalDefaultControls": {
  28                  "background": true,
  29                  "text": true
  30              }
  31          },
  32          "dimensions": {
  33              "minHeight": true,
  34              "minWidth": true
  35          },
  36          "spacing": {
  37              "margin": true,
  38              "padding": true
  39          },
  40          "typography": {
  41              "fontSize": true,
  42              "lineHeight": true,
  43              "textAlign": true,
  44              "__experimentalFontFamily": true,
  45              "__experimentalFontStyle": true,
  46              "__experimentalFontWeight": true,
  47              "__experimentalLetterSpacing": true,
  48              "__experimentalTextTransform": true,
  49              "__experimentalDefaultControls": {
  50                  "fontSize": true
  51              }
  52          },
  53          "__experimentalBorder": {
  54              "radius": true,
  55              "color": true,
  56              "width": true,
  57              "style": true,
  58              "__experimentalDefaultControls": {
  59                  "radius": true,
  60                  "color": true,
  61                  "width": true,
  62                  "style": true
  63              }
  64          }
  65      },
  66      "editorStyle": "wp-block-post-comments-form-editor",
  67      "style": [
  68          "wp-block-post-comments-form",
  69          "wp-block-buttons",
  70          "wp-block-button"
  71      ],
  72      "example": {
  73          "attributes": {
  74              "style": {
  75                  "typography": {
  76                      "textAlign": "center"
  77                  }
  78              }
  79          }
  80      }
  81  }


Generated : Sun Oct 25 08:20:35 2026 Cross-referenced by PHPXref