[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/navigation-submenu/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/navigation-submenu",
   5      "title": "Submenu",
   6      "category": "design",
   7      "parent": [ "core/navigation" ],
   8      "description": "Add a submenu to your navigation.",
   9      "textdomain": "default",
  10      "attributes": {
  11          "label": {
  12              "type": "string"
  13          },
  14          "type": {
  15              "type": "string"
  16          },
  17          "description": {
  18              "type": "string"
  19          },
  20          "rel": {
  21              "type": "string"
  22          },
  23          "id": {
  24              "type": "number"
  25          },
  26          "opensInNewTab": {
  27              "type": "boolean",
  28              "default": false
  29          },
  30          "url": {
  31              "type": "string"
  32          },
  33          "title": {
  34              "type": "string"
  35          },
  36          "kind": {
  37              "type": "string"
  38          },
  39          "isTopLevelItem": {
  40              "type": "boolean"
  41          }
  42      },
  43      "usesContext": [
  44          "textColor",
  45          "customTextColor",
  46          "backgroundColor",
  47          "customBackgroundColor",
  48          "overlayTextColor",
  49          "customOverlayTextColor",
  50          "overlayBackgroundColor",
  51          "customOverlayBackgroundColor",
  52          "fontSize",
  53          "customFontSize",
  54          "showSubmenuIcon",
  55          "maxNestingLevel",
  56          "openSubmenusOnClick",
  57          "style"
  58      ],
  59      "supports": {
  60          "reusable": false,
  61          "html": false,
  62          "typography": {
  63              "fontSize": true,
  64              "lineHeight": true,
  65              "__experimentalFontFamily": true,
  66              "__experimentalFontWeight": true,
  67              "__experimentalFontStyle": true,
  68              "__experimentalTextTransform": true,
  69              "__experimentalTextDecoration": true,
  70              "__experimentalLetterSpacing": true,
  71              "__experimentalDefaultControls": {
  72                  "fontSize": true
  73              }
  74          },
  75          "interactivity": {
  76              "clientNavigation": true
  77          }
  78      },
  79      "editorStyle": "wp-block-navigation-submenu-editor",
  80      "style": "wp-block-navigation-submenu"
  81  }


Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref