[ 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          "align": [ "wide", "full" ],
  21          "html": false,
  22          "color": {
  23              "gradients": true,
  24              "heading": true,
  25              "link": true,
  26              "__experimentalDefaultControls": {
  27                  "background": true,
  28                  "text": true,
  29                  "link": true
  30              }
  31          },
  32          "spacing": {
  33              "margin": true,
  34              "padding": true
  35          },
  36          "typography": {
  37              "fontSize": true,
  38              "lineHeight": true,
  39              "__experimentalFontFamily": true,
  40              "__experimentalFontWeight": true,
  41              "__experimentalFontStyle": true,
  42              "__experimentalTextTransform": true,
  43              "__experimentalTextDecoration": true,
  44              "__experimentalLetterSpacing": true,
  45              "__experimentalDefaultControls": {
  46                  "fontSize": true
  47              }
  48          }
  49      },
  50      "editorStyle": "wp-block-comments-editor",
  51      "usesContext": [ "postId", "postType" ]
  52  }


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