[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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


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