[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/list-item/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/list-item",
   5      "title": "List Item",
   6      "category": "text",
   7      "parent": [ "core/list" ],
   8      "allowedBlocks": [ "core/list" ],
   9      "description": "An individual item within a list.",
  10      "textdomain": "default",
  11      "attributes": {
  12          "placeholder": {
  13              "type": "string"
  14          },
  15          "content": {
  16              "type": "rich-text",
  17              "source": "rich-text",
  18              "selector": "li",
  19              "role": "content"
  20          }
  21      },
  22      "supports": {
  23          "anchor": true,
  24          "html": false,
  25          "className": false,
  26          "splitting": true,
  27          "__experimentalBorder": {
  28              "color": true,
  29              "radius": true,
  30              "style": true,
  31              "width": true
  32          },
  33          "color": {
  34              "gradients": true,
  35              "link": true,
  36              "background": true,
  37              "__experimentalDefaultControls": {
  38                  "text": true
  39              }
  40          },
  41          "spacing": {
  42              "margin": true,
  43              "padding": true,
  44              "__experimentalDefaultControls": {
  45                  "margin": false,
  46                  "padding": false
  47              }
  48          },
  49          "typography": {
  50              "fontSize": true,
  51              "lineHeight": true,
  52              "__experimentalFontFamily": true,
  53              "__experimentalFontWeight": true,
  54              "__experimentalFontStyle": true,
  55              "__experimentalTextTransform": true,
  56              "__experimentalTextDecoration": true,
  57              "__experimentalLetterSpacing": true,
  58              "__experimentalDefaultControls": {
  59                  "fontSize": true
  60              }
  61          },
  62          "interactivity": {
  63              "clientNavigation": true
  64          }
  65      },
  66      "selectors": {
  67          "root": ".wp-block-list > li",
  68          "border": ".wp-block-list:not(.wp-block-list .wp-block-list) > li"
  69      }
  70  }


Generated : Sun Jul 5 08:20:13 2026 Cross-referenced by PHPXref