Stepper

global-panel-link control

Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Global Panel Link",
  "description": "config for editor global panel link control",
  "type": "object",
  "required": [
    "option",
    "linkId",
  ],
  "properties": {
    "control": {
      "const": "global-panel-link",
    },
    "linkId": {
      "type": "string",
      "description": "id used to link the global-panel-link to a global-control",
      "example": [
        "123",
        "color-settings",
        "font-settings",
      ],
    },
  }
}

Example

global-panel-link control

{
    "control": "group",
    "label": "Banner Text",
    "children": [
        {
            "control": "textarea",
            "label": "Text",
            "value": {
                "$ref": "#/schema/text"
            }
        },
        {
            "control": "global-panel-link",
            "linkId": "font-styles",
        },
    ]
}

Schema for the global-control being linked

{
    "control": "global-control",
    "linkId": "font-styles",
}