[ 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          "color": {
  14              "gradients": true,
  15              "heading": true,
  16              "link": true,
  17              "__experimentalDefaultControls": {
  18                  "background": true,
  19                  "text": true
  20              }
  21          },
  22          "spacing": {
  23              "margin": true,
  24              "padding": true
  25          },
  26          "typography": {
  27              "fontSize": true,
  28              "lineHeight": true,
  29              "textAlign": true,
  30              "__experimentalFontStyle": true,
  31              "__experimentalFontWeight": true,
  32              "__experimentalLetterSpacing": true,
  33              "__experimentalTextTransform": true,
  34              "__experimentalDefaultControls": {
  35                  "fontSize": true
  36              }
  37          },
  38          "__experimentalBorder": {
  39              "radius": true,
  40              "color": true,
  41              "width": true,
  42              "style": true,
  43              "__experimentalDefaultControls": {
  44                  "radius": true,
  45                  "color": true,
  46                  "width": true,
  47                  "style": true
  48              }
  49          }
  50      },
  51      "editorStyle": "wp-block-post-comments-form-editor",
  52      "style": [
  53          "wp-block-post-comments-form",
  54          "wp-block-buttons",
  55          "wp-block-button"
  56      ],
  57      "example": {
  58          "attributes": {
  59              "style": {
  60                  "typography": {
  61                      "textAlign": "center"
  62                  }
  63              }
  64          }
  65      }
  66  }


Generated : Tue Jun 16 08:20:09 2026 Cross-referenced by PHPXref