[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/social-links/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/social-links",
   5      "title": "Social Icons",
   6      "category": "widgets",
   7      "allowedBlocks": [ "core/social-link" ],
   8      "description": "Display icons linking to your social media profiles or sites.",
   9      "keywords": [ "links" ],
  10      "textdomain": "default",
  11      "attributes": {
  12          "iconColor": {
  13              "type": "string"
  14          },
  15          "customIconColor": {
  16              "type": "string"
  17          },
  18          "iconColorValue": {
  19              "type": "string"
  20          },
  21          "iconBackgroundColor": {
  22              "type": "string"
  23          },
  24          "customIconBackgroundColor": {
  25              "type": "string"
  26          },
  27          "iconBackgroundColorValue": {
  28              "type": "string"
  29          },
  30          "openInNewTab": {
  31              "type": "boolean",
  32              "default": false
  33          },
  34          "showLabels": {
  35              "type": "boolean",
  36              "default": false
  37          },
  38          "size": {
  39              "type": "string"
  40          }
  41      },
  42      "providesContext": {
  43          "openInNewTab": "openInNewTab",
  44          "showLabels": "showLabels",
  45          "iconColor": "iconColor",
  46          "iconColorValue": "iconColorValue",
  47          "iconBackgroundColor": "iconBackgroundColor",
  48          "iconBackgroundColorValue": "iconBackgroundColorValue"
  49      },
  50      "supports": {
  51          "align": [ "left", "center", "right" ],
  52          "anchor": true,
  53          "__experimentalExposeControlsToChildren": true,
  54          "layout": {
  55              "allowSwitching": false,
  56              "allowInheriting": false,
  57              "allowVerticalAlignment": false,
  58              "default": {
  59                  "type": "flex"
  60              }
  61          },
  62          "color": {
  63              "enableContrastChecker": false,
  64              "background": true,
  65              "gradients": true,
  66              "text": false,
  67              "__experimentalDefaultControls": {
  68                  "background": false
  69              }
  70          },
  71          "spacing": {
  72              "blockGap": [ "horizontal", "vertical" ],
  73              "margin": true,
  74              "padding": true,
  75              "units": [ "px", "em", "rem", "vh", "vw" ],
  76              "__experimentalDefaultControls": {
  77                  "blockGap": true,
  78                  "margin": true,
  79                  "padding": false
  80              }
  81          },
  82          "interactivity": {
  83              "clientNavigation": true
  84          }
  85      },
  86      "styles": [
  87          { "name": "default", "label": "Default", "isDefault": true },
  88          { "name": "logos-only", "label": "Logos Only" },
  89          { "name": "pill-shape", "label": "Pill Shape" }
  90      ],
  91      "editorStyle": "wp-block-social-links-editor",
  92      "style": "wp-block-social-links"
  93  }


Generated : Sat May 4 08:20:02 2024 Cross-referenced by PHPXref