File "block.json"

Full Path: /var/www/html/wordpress/wp-content/plugins/gutentools/build/blocks/advance-heading/block.json
File size: 8.05 KB
MIME-type: application/json
Charset: utf-8

 
Open Back
{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "gutentools/advance-heading",
  "version": "1.0.0",
  "title": "Advance Heading",
  "category": "gutentools",
  "description": "An extended heading block with responsive options.",
  "keywords": [
    "heading",
    "advance"
  ],
  "example": {},
  "supports": {
    "html": false
  },
  "attributes": {
    "headingTag": {
      "type": "number",
      "default": "2"
    },
    "block_id": {
      "type": "string"
    },
    "alignment": {
      "type": "string",
      "default": "left"
    },
    "headingText": {
      "type": "string",
      "default": "This is advance heading block"
    },
    "headingTypo": {
      "type": "object",
      "default": {
        "fontFamily": "",
        "fontSize": {
          "units": [
            "px",
            "em",
            "rem"
          ],
          "activeUnit": "px",
          "values": {
            "desktop": 42,
            "tablet": 32,
            "mobile": 26
          }
        },
        "fontWeight": 600,
        "lineHeight": {
          "activeUnit": "",
          "units": [
            ""
          ],
          "values": {
            "desktop": 1,
            "tablet": 1,
            "mobile": 1
          }
        }
      }
    },
    "headingPadding": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "top",
          "right",
          "bottom",
          "left"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem"
        ],
        "values": {
          "desktop": [
            0,
            0,
            0,
            0
          ],
          "tablet": [
            0,
            0,
            0,
            0
          ],
          "mobile": [
            0,
            0,
            0,
            0
          ]
        }
      }
    },
    "headingMargin": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "top",
          "right",
          "bottom",
          "left"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem"
        ],
        "values": {
          "desktop": [
            15,
            0,
            0,
            0
          ],
          "tablet": [
            15,
            0,
            0,
            0
          ],
          "mobile": [
            15,
            0,
            0,
            0
          ]
        }
      }
    },
    "headingColor": {
      "type": "string",
      "default": "#000"
    },
    "headingBgColor": {
      "type": "string"
    },
    "showPrefix": {
      "type": "boolean",
      "default": true
    },
    "prefixText": {
      "type": "string",
      "default": "Gutentools is awesome"
    },
    "prefixTypo": {
      "type": "object",
      "default": {
        "fontFamily": "",
        "fontSize": {
          "units": [
            "px",
            "em",
            "rem"
          ],
          "activeUnit": "px",
          "values": {
            "desktop": 16,
            "tablet": 16,
            "mobile": 16
          }
        },
        "fontWeight": 400,
        "lineHeight": {
          "activeUnit": "",
          "units": [
            ""
          ],
          "values": {
            "desktop": 1.6,
            "tablet": 1.6,
            "mobile": 1.6
          }
        }
      }
    },
    "prefixPadding": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "top",
          "right",
          "bottom",
          "left"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem"
        ],
        "values": {
          "desktop": [
            5,
            5,
            5,
            5
          ],
          "tablet": [
            5,
            5,
            5,
            5
          ],
          "mobile": [
            5,
            5,
            5,
            5
          ]
        }
      }
    },
    "prefixMargin": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "top",
          "right",
          "bottom",
          "left"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem"
        ],
        "values": {
          "desktop": [
            0,
            0,
            0,
            0
          ],
          "tablet": [
            0,
            0,
            0,
            0
          ],
          "mobile": [
            0,
            0,
            0,
            0
          ]
        }
      }
    },
    "prefixRadius": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "em"
        ],
        "range": {
          "min": 0,
          "max": 100
        },
        "values": {
          "desktop": 5,
          "tablet": 5,
          "mobile": 5
        }
      }
    },
    "prefixColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "prefixBgColor": {
      "type": "string",
      "default": "#0079ff"
    },
    "showSuffix": {
      "type": "boolean",
      "default": true
    },
    "suffixText": {
      "type": "string",
      "default": "Ut leo. In auctor lobortis lacus. Fusce a quam.........."
    },
    "suffixTypo": {
      "type": "object",
      "default": {
        "fontFamily": "",
        "fontSize": {
          "units": [
            "px",
            "em",
            "rem"
          ],
          "activeUnit": "px",
          "values": {
            "desktop": 16,
            "tablet": 16,
            "mobile": 16
          }
        },
        "fontWeight": 400,
        "lineHeight": {
          "activeUnit": "",
          "units": [
            ""
          ],
          "values": {
            "desktop": 1.6,
            "tablet": 1.6,
            "mobile": 1.6
          }
        }
      }
    },
    "suffixPadding": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "top",
          "right",
          "bottom",
          "left"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem"
        ],
        "values": {
          "desktop": [
            0,
            0,
            0,
            0
          ],
          "tablet": [
            0,
            0,
            0,
            0
          ],
          "mobile": [
            0,
            0,
            0,
            0
          ]
        }
      }
    },
    "suffixMargin": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "top",
          "right",
          "bottom",
          "left"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem"
        ],
        "values": {
          "desktop": [
            0,
            0,
            0,
            0
          ],
          "tablet": [
            0,
            0,
            0,
            0
          ],
          "mobile": [
            0,
            0,
            0,
            0
          ]
        }
      }
    },
    "suffixColor": {
      "type": "string",
      "default": "#000"
    },
    "suffixBgColor": {
      "type": "string"
    }
  },
  "textdomain": "gutentools",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}