[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-content",
   5      "title": "Content",
   6      "category": "theme",
   7      "description": "Displays the contents of a post or page.",
   8      "textdomain": "default",
   9      "usesContext": [ "postId", "postType", "queryId" ],
  10      "attributes": {
  11          "tagName": {
  12              "type": "string",
  13              "default": "div"
  14          }
  15      },
  16      "example": {
  17          "viewportWidth": 350
  18      },
  19      "supports": {
  20          "align": [ "wide", "full" ],
  21          "html": false,
  22          "layout": true,
  23          "background": {
  24              "backgroundImage": true,
  25              "backgroundSize": true,
  26              "__experimentalDefaultControls": {
  27                  "backgroundImage": true
  28              }
  29          },
  30          "dimensions": {
  31              "minHeight": true
  32          },
  33          "spacing": {
  34              "blockGap": true,
  35              "padding": true,
  36              "margin": true,
  37              "__experimentalDefaultControls": {
  38                  "margin": false,
  39                  "padding": false
  40              }
  41          },
  42          "color": {
  43              "gradients": true,
  44              "heading": true,
  45              "link": true,
  46              "__experimentalDefaultControls": {
  47                  "background": false,
  48                  "text": false
  49              }
  50          },
  51          "typography": {
  52              "fontSize": true,
  53              "lineHeight": true,
  54              "__experimentalFontFamily": true,
  55              "__experimentalFontWeight": true,
  56              "__experimentalFontStyle": true,
  57              "__experimentalTextTransform": true,
  58              "__experimentalTextDecoration": true,
  59              "__experimentalLetterSpacing": true,
  60              "__experimentalDefaultControls": {
  61                  "fontSize": true
  62              }
  63          },
  64          "interactivity": {
  65              "clientNavigation": true
  66          },
  67          "__experimentalBorder": {
  68              "radius": true,
  69              "color": true,
  70              "width": true,
  71              "style": true,
  72              "__experimentalDefaultControls": {
  73                  "radius": true,
  74                  "color": true,
  75                  "width": true,
  76                  "style": true
  77              }
  78          }
  79      },
  80      "style": "wp-block-post-content",
  81      "editorStyle": "wp-block-post-content-editor"
  82  }


Generated : Wed May 6 08:20:15 2026 Cross-referenced by PHPXref