[ 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      "example": {
  27          "viewportWidth": 350
  28      },
  29      "supports": {
  30          "html": false,
  31          "color": {
  32              "gradients": true,
  33              "link": true,
  34              "__experimentalDefaultControls": {
  35                  "background": true,
  36                  "text": true,
  37                  "link": true
  38              }
  39          },
  40          "spacing": {
  41              "margin": true,
  42              "padding": true
  43          },
  44          "typography": {
  45              "fontSize": true,
  46              "lineHeight": true,
  47              "__experimentalFontFamily": true,
  48              "__experimentalFontWeight": true,
  49              "__experimentalFontStyle": true,
  50              "__experimentalTextTransform": true,
  51              "__experimentalTextDecoration": true,
  52              "__experimentalLetterSpacing": true,
  53              "__experimentalDefaultControls": {
  54                  "fontSize": true
  55              }
  56          },
  57          "interactivity": {
  58              "clientNavigation": true
  59          },
  60          "__experimentalBorder": {
  61              "radius": true,
  62              "color": true,
  63              "width": true,
  64              "style": true,
  65              "__experimentalDefaultControls": {
  66                  "radius": true,
  67                  "color": true,
  68                  "width": true,
  69                  "style": true
  70              }
  71          }
  72      },
  73      "editorStyle": "wp-block-post-excerpt-editor",
  74      "style": "wp-block-post-excerpt"
  75  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref