[ 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          "anchor": true,
  21          "align": [ "wide", "full" ],
  22          "html": false,
  23          "layout": true,
  24          "background": {
  25              "backgroundImage": true,
  26              "backgroundSize": true,
  27              "gradient": true,
  28              "__experimentalDefaultControls": {
  29                  "backgroundImage": true
  30              }
  31          },
  32          "dimensions": {
  33              "minHeight": true
  34          },
  35          "spacing": {
  36              "blockGap": true,
  37              "padding": true,
  38              "margin": true,
  39              "__experimentalDefaultControls": {
  40                  "margin": false,
  41                  "padding": false
  42              }
  43          },
  44          "color": {
  45              "gradients": true,
  46              "heading": true,
  47              "link": true,
  48              "__experimentalDefaultControls": {
  49                  "background": false,
  50                  "text": false
  51              }
  52          },
  53          "typography": {
  54              "fontSize": true,
  55              "lineHeight": true,
  56              "__experimentalFontFamily": true,
  57              "__experimentalFontWeight": true,
  58              "__experimentalFontStyle": true,
  59              "__experimentalTextTransform": true,
  60              "__experimentalTextDecoration": true,
  61              "__experimentalLetterSpacing": true,
  62              "__experimentalDefaultControls": {
  63                  "fontSize": true
  64              }
  65          },
  66          "interactivity": {
  67              "clientNavigation": true
  68          },
  69          "__experimentalBorder": {
  70              "radius": true,
  71              "color": true,
  72              "width": true,
  73              "style": true,
  74              "__experimentalDefaultControls": {
  75                  "radius": true,
  76                  "color": true,
  77                  "width": true,
  78                  "style": true
  79              }
  80          }
  81      },
  82      "style": "wp-block-post-content",
  83      "editorStyle": "wp-block-post-content-editor"
  84  }


Generated : Mon Jul 27 08:20:18 2026 Cross-referenced by PHPXref