[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 2,
   4      "name": "core/post-comments",
   5      "title": "Post Comments (deprecated)",
   6      "category": "theme",
   7      "description": "This block is deprecated. Please use the Comments Query Loop block instead.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "textAlign": {
  11              "type": "string"
  12          }
  13      },
  14      "usesContext": [ "postId", "postType" ],
  15      "supports": {
  16          "html": false,
  17          "align": [ "wide", "full" ],
  18          "typography": {
  19              "fontSize": true,
  20              "lineHeight": true,
  21              "__experimentalFontStyle": true,
  22              "__experimentalFontWeight": true,
  23              "__experimentalLetterSpacing": true,
  24              "__experimentalTextTransform": true,
  25              "__experimentalDefaultControls": {
  26                  "fontSize": true
  27              }
  28          },
  29          "color": {
  30              "gradients": true,
  31              "link": true,
  32              "__experimentalDefaultControls": {
  33                  "background": true,
  34                  "text": true
  35              }
  36          },
  37          "inserter": false
  38      },
  39      "style": [
  40          "wp-block-post-comments",
  41          "wp-block-buttons",
  42          "wp-block-button"
  43      ],
  44      "editorStyle": "wp-block-post-comments-editor"
  45  }


Generated : Tue Sep 20 08:20:01 2022 Cross-referenced by PHPXref