File "block.json"

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

 
Open Back
{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "gutentools/testimonial",
  "version": "1.0.0",
  "title": "Testimonial",
  "category": "gutentools",
  "description": "Display customer feedback beautifully with the Testimonials Block. Customize quotes, client names, photos, and ratings to build trust and highlight success stories.",
  "keywords": [
    "review",
    "testimonial"
  ],
  "example": {},
  "supports": {
    "html": false
  },
  "attributes": {
    "block_id": {
      "type": "string"
    },
    "alignment": {
      "type": "string",
      "default": "center"
    },
    "boxBackgroundColor": {
      "type": "string",
      "default": "#f2f2f2"
    },
    "boxBorder": {
      "type": "object",
      "default": {
        "color": "",
        "style": "",
        "width": "0"
      }
    },
    "boxBorderRadius": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "em"
        ],
        "range": {
          "min": 0,
          "max": 100
        },
        "values": {
          "desktop": 5,
          "tablet": 5,
          "mobile": 5
        }
      }
    },
    "boxPadding": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "top",
          "right",
          "bottom",
          "left"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem"
        ],
        "values": {
          "desktop": [
            15,
            15,
            15,
            15
          ],
          "tablet": [
            15,
            15,
            15,
            15
          ],
          "mobile": [
            15,
            15,
            15,
            15
          ]
        }
      }
    },
    "boxMargin": {
      "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
          ]
        }
      }
    },
    "showImage": {
      "type": "boolean",
      "default": true
    },
    "image": {
      "type": "object"
    },
    "imageSize": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "height",
          "width"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem",
          "%"
        ],
        "values": {
          "desktop": [
            100,
            100
          ],
          "tablet": [
            100,
            100
          ],
          "mobile": [
            100,
            100
          ]
        }
      }
    },
    "imageBorder": {
      "type": "object",
      "default": {
        "color": "",
        "style": "",
        "width": "0"
      }
    },
    "imageBorderRadius": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "em"
        ],
        "range": {
          "min": 0,
          "max": 100
        },
        "values": {
          "desktop": 100,
          "tablet": 100,
          "mobile": 100
        }
      }
    },
    "imagePadding": {
      "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
          ]
        }
      }
    },
    "imageMargin": {
      "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
          ]
        }
      }
    },
    "name": {
      "type": "string",
      "default": "John Doe"
    },
    "showName": {
      "type": "boolean",
      "default": true
    },
    "nameColor": {
      "type": "string",
      "default": "#000"
    },
    "nameTypo": {
      "type": "object",
      "default": {
        "fontFamily": "",
        "fontSize": {
          "units": [
            "px",
            "em",
            "rem"
          ],
          "activeUnit": "px",
          "values": {
            "desktop": 24,
            "tablet": 24,
            "mobile": 24
          }
        },
        "fontWeight": 600,
        "lineHeight": {
          "activeUnit": "",
          "units": [
            ""
          ],
          "values": {
            "desktop": 1,
            "tablet": 1,
            "mobile": 1
          }
        }
      }
    },
    "namePadding": {
      "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
          ]
        }
      }
    },
    "nameMargin": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "top",
          "right",
          "bottom",
          "left"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem"
        ],
        "values": {
          "desktop": [
            15,
            0,
            15,
            0
          ],
          "tablet": [
            15,
            0,
            15,
            0
          ],
          "mobile": [
            15,
            0,
            15,
            0
          ]
        }
      }
    },
    "position": {
      "type": "string",
      "default": "CEO/XYZ Company"
    },
    "showPosition": {
      "type": "boolean",
      "default": true
    },
    "positionColor": {
      "type": "string",
      "default": "#777777"
    },
    "positionTypo": {
      "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,
            "tablet": 1,
            "mobile": 1
          }
        }
      }
    },
    "positionPadding": {
      "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
          ]
        }
      }
    },
    "positionMargin": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "top",
          "right",
          "bottom",
          "left"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem"
        ],
        "values": {
          "desktop": [
            0,
            0,
            15,
            0
          ],
          "tablet": [
            0,
            0,
            15,
            0
          ],
          "mobile": [
            0,
            0,
            15,
            0
          ]
        }
      }
    },
    "testimonialText": {
      "type": "string",
      "default": "Fusce commodo aliquam arcu. Praesent congue erat at massa. Sed augue ipsum, egestas nec, vestibulum et, malesuada adipiscing, dui. Fusce pharetra convallis urna."
    },
    "showText": {
      "type": "boolean",
      "default": true
    },
    "testimonialTextColor": {
      "type": "string",
      "default": "#000"
    },
    "testimonialTextTypo": {
      "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
          }
        }
      }
    },
    "testimonialTextPadding": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "isLinkActive": true,
        "properties": [
          "top",
          "right",
          "bottom",
          "left"
        ],
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "rem"
        ],
        "values": {
          "desktop": [
            0,
            20,
            0,
            20
          ],
          "tablet": [
            0,
            20,
            0,
            20
          ],
          "mobile": [
            0,
            20,
            0,
            20
          ]
        }
      }
    },
    "testimonialTextMargin": {
      "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
          ]
        }
      }
    },
    "showQuoteIcon": {
      "type": "boolean",
      "default": true
    },
    "quoteIconColor": {
      "type": "string",
      "default": "#D7D7D7"
    },
    "quoteIconSize": {
      "type": "object",
      "default": {
        "activeUnit": "px",
        "responsiveViews": [
          "desktop",
          "tablet",
          "mobile"
        ],
        "units": [
          "px",
          "em"
        ],
        "range": {
          "min": 0,
          "max": 100
        },
        "values": {
          "desktop": 18,
          "tablet": 18,
          "mobile": 18
        }
      }
    },
    "showRating": {
      "type": "boolean",
      "default": true
    }
  },
  "textdomain": "gutentools",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}