[ 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              "minWidth": true
  35          },
  36          "shadow": true,
  37          "spacing": {
  38              "blockGap": true,
  39              "padding": true,
  40              "margin": true,
  41              "__experimentalDefaultControls": {
  42                  "margin": false,
  43                  "padding": false
  44              }
  45          },
  46          "color": {
  47              "gradients": true,
  48              "button": true,
  49              "heading": true,
  50              "link": true,
  51              "__experimentalDefaultControls": {
  52                  "background": false,
  53                  "text": false
  54              }
  55          },
  56          "typography": {
  57              "fontSize": true,
  58              "lineHeight": true,
  59              "textAlign": true,
  60              "__experimentalFontFamily": true,
  61              "__experimentalFontWeight": true,
  62              "__experimentalFontStyle": true,
  63              "__experimentalTextTransform": true,
  64              "__experimentalTextDecoration": true,
  65              "__experimentalLetterSpacing": true,
  66              "__experimentalDefaultControls": {
  67                  "fontSize": true
  68              }
  69          },
  70          "interactivity": {
  71              "clientNavigation": true
  72          },
  73          "__experimentalBorder": {
  74              "radius": true,
  75              "color": true,
  76              "width": true,
  77              "style": true,
  78              "__experimentalDefaultControls": {
  79                  "radius": true,
  80                  "color": true,
  81                  "width": true,
  82                  "style": true
  83              }
  84          }
  85      },
  86      "style": "wp-block-post-content",
  87      "editorStyle": "wp-block-post-content-editor"
  88  }


Generated : Sun Oct 25 08:20:35 2026 Cross-referenced by PHPXref