[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-excerpt",
   5      "title": "Excerpt",
   6      "category": "theme",
   7      "description": "Display the excerpt.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "textAlign": {
  11              "type": "string"
  12          },
  13          "moreText": {
  14              "type": "string"
  15          },
  16          "showMoreOnNewLine": {
  17              "type": "boolean",
  18              "default": true
  19          },
  20          "excerptLength": {
  21              "type": "number",
  22              "default": 55
  23          }
  24      },
  25      "usesContext": [ "postId", "postType", "queryId" ],
  26      "supports": {
  27          "html": false,
  28          "color": {
  29              "gradients": true,
  30              "link": true,
  31              "__experimentalDefaultControls": {
  32                  "background": true,
  33                  "text": true,
  34                  "link": true
  35              }
  36          },
  37          "spacing": {
  38              "margin": true,
  39              "padding": true
  40          },
  41          "typography": {
  42              "fontSize": true,
  43              "lineHeight": true,
  44              "__experimentalFontFamily": true,
  45              "__experimentalFontWeight": true,
  46              "__experimentalFontStyle": true,
  47              "__experimentalTextTransform": true,
  48              "__experimentalTextDecoration": true,
  49              "__experimentalLetterSpacing": true,
  50              "__experimentalDefaultControls": {
  51                  "fontSize": true
  52              }
  53          },
  54          "interactivity": {
  55              "clientNavigation": true
  56          }
  57      },
  58      "editorStyle": "wp-block-post-excerpt-editor",
  59      "style": "wp-block-post-excerpt"
  60  }


Generated : Thu May 2 08:20:01 2024 Cross-referenced by PHPXref