File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/plugins/blockart-blocks/dist/faqs/block.json
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"name": "blockart/faq",
"title": "FAQ",
"description": "Display Frequently Asked Questions as an accordion.",
"keywords": [
"faq",
"accordion",
"question"
],
"category": "blockart",
"textdomain": "blockart",
"supports": {
"className": false,
"customClassName": false,
"html": false
},
"example": {
"attributes": {}
},
"attributes": {
"clientId": {
"type": "string"
},
"focusedChildClientId": {
"type": "string"
},
"answerTypography": {
"type": "object",
"default": {
"typography": 1
},
"style": [
{
"selector": ".blockart-faq-answer"
}
]
},
"questionTypography": {
"type": "object",
"default": {
"typography": 1
},
"style": [
{
"selector": ".blockart-faq-question"
}
]
},
"justification": {
"type": "object"
},
"orientation": {
"type": "object"
},
"questionAlignment": {
"type": "object",
"style": [
{
"selector": ".blockart-faq-question { text-align: {{VALUE}}; }"
}
]
},
"answerAlignment": {
"type": "object",
"style": [
{
"selector": ".blockart-faq-answer { text-align: {{VALUE}}; }"
}
]
},
"flexWrap": {
"type": "boolean",
"default": true
},
"expandFirst": {
"type": "boolean",
"default": true
},
"collapseOthers": {
"type": "boolean",
"default": true
},
"enableSchema": {
"type": "boolean",
"default": true
},
"itemsSeparator": {
"type": "boolean",
"default": true
},
"collapseIcon": {
"type": "string",
"default": "close"
},
"expandIcon": {
"type": "string",
"default": "plus"
},
"iconPosition": {
"type": "string",
"default": "right"
},
"iconSize": {
"type": "object",
"default": {
"desktop": {
"value": 14,
"unit": "px"
}
},
"style": [
{
"selector": ".blockart-faq-title-wrapper svg { height: {{VALUE}}; width: {{VALUE}}; }"
}
]
},
"iconGap": {
"type": "object",
"default": {
"desktop": {
"value": 12,
"unit": "px"
}
},
"style": [
{
"selector": ".blockart-faq-title-wrapper svg { margin: auto {{VALUE}}; }"
}
]
},
"questionPadding": {
"type": "object",
"default": {
"dimension": 1,
"desktop": {
"lock": false,
"unit": "px",
"left": 10,
"right": 10,
"top": 10,
"bottom": 10
}
},
"style": [
{
"selector": ".blockart-faq-title-wrapper { padding: {{VALUE}}; }"
}
]
},
"answerPadding": {
"type": "object",
"default": {
"dimension": 1,
"desktop": {
"lock": false,
"unit": "px",
"left": 10,
"right": 10,
"top": 0,
"bottom": 10
}
},
"style": [
{
"selector": ".blockart-faq-content { padding: {{VALUE}}; }"
}
]
},
"itemsSeparatorWidth": {
"type": "object",
"default": {
"desktop": {
"value": 1,
"unit": "px"
}
},
"style": [
{
"selector": "{{WRAPPER}} .blockart-control { border-bottom: {{VALUE}} solid; }"
}
]
},
"itemsSeparatorColor1": {
"type": "string",
"default": "#cccccc",
"style": [
{
"condition": [
{
"key": "style",
"relation": "==",
"value": "filled"
}
],
"selector": "{{WRAPPER}} .blockart-control { border-color: {{VALUE}} !important; }"
}
]
},
"itemsSeparatorColor2": {
"type": "string",
"default": "#cccccc",
"style": [
{
"condition": [
{
"key": "style",
"relation": "!=",
"value": "filled"
}
],
"selector": "{{WRAPPER}} .blockart-control { border-color: {{VALUE}} !important; }"
}
]
},
"questionColor1": {
"type": "string",
"default": "#000000",
"style": [
{
"condition": [
{
"key": "style",
"relation": "==",
"value": "filled"
}
],
"selector": "{{WRAPPER}} .blockart-faq-title-wrapper .blockart-faq-question { color: {{VALUE}}; } {{WRAPPER}} .blockart-icon{ fill: {{VALUE}}; }"
}
]
},
"questionColor2": {
"type": "string",
"default": "#000000",
"style": [
{
"condition": [
{
"key": "style",
"relation": "!=",
"value": "filled"
}
],
"selector": "{{WRAPPER}} .blockart-faq-title-wrapper .blockart-faq-question { color: {{VALUE}}; } {{WRAPPER}} .blockart-icon { fill: {{VALUE}}; }"
}
]
},
"questionBackground1": {
"type": "string",
"default": "#fff",
"style": [
{
"condition": [
{
"key": "style",
"relation": "==",
"value": "filled"
}
],
"selector": "{{WRAPPER}} .blockart-faq-title-wrapper { background: {{VALUE}}; }"
}
]
},
"questionBackground2": {
"type": "string",
"default": "#fff",
"style": [
{
"condition": [
{
"key": "style",
"relation": "!=",
"value": "filled"
}
],
"selector": "{{WRAPPER}} .blockart-faq-title-wrapper { background: {{VALUE}}; }"
}
]
},
"answerColor1": {
"type": "string",
"default": "#000",
"style": [
{
"condition": [
{
"key": "style",
"relation": "==",
"value": "filled"
}
],
"selector": "{{WRAPPER}} .blockart-faq-content p { color: {{VALUE}}; }"
}
]
},
"answerColor2": {
"type": "string",
"default": "#000",
"style": [
{
"condition": [
{
"key": "style",
"relation": "!=",
"value": "filled"
}
],
"selector": "{{WRAPPER}} .blockart-faq-content p { color: {{VALUE}}; }"
}
]
},
"answerBackground1": {
"type": "string",
"default": "#fff",
"style": [
{
"condition": [
{
"key": "style",
"relation": "==",
"value": "filled"
}
],
"selector": "{{WRAPPER}} .blockart-faq-content { background: {{VALUE}}; }"
}
]
},
"answerBackground2": {
"type": "string",
"default": "#fff",
"style": [
{
"condition": [
{
"key": "style",
"relation": "!=",
"value": "filled"
}
],
"selector": "{{WRAPPER}} .blockart-faq-content { background: {{VALUE}}; }"
}
]
},
"flexGap": {
"type": "object",
"default": {
"desktop": {
"value": 8,
"unit": "px"
}
},
"style": [
{
"selector": "{{WRAPPER}} { gap: {{VALUE}}; }"
}
]
},
"positionProperty": {
"type": "object",
"default": {
"positionProperty": 1,
"position": "none"
},
"style": [
{
"selector": "{{WRAPPER}}"
}
]
},
"blockMargin": {
"type": "object",
"default": {
"dimension": 1,
"desktop": {
"lock": true
}
},
"style": [
{
"selector": "{{WRAPPER}} { margin: {{VALUE}}; }"
}
]
},
"blockPadding": {
"type": "object",
"default": {
"dimension": 1,
"desktop": {
"lock": true
}
},
"style": [
{
"selector": "{{WRAPPER}} { padding: {{VALUE}}; }"
}
]
},
"blockHTML": {
"type": "string",
"default": "div"
},
"blockZIndex": {
"type": "number",
"style": [
{
"selector": "{{WRAPPER}} { z-index: {{VALUE}}; }"
}
]
},
"blockOpacity": {
"type": "number",
"style": [
{
"selector": "{{WRAPPER}} { opacity: {{VALUE}}; }"
}
]
},
"cssID": {
"type": "string"
},
"animation": {
"type": "string"
},
"interaction": {
"type": "object"
},
"position": {
"type": "object"
},
"hideOnDesktop": {
"type": "boolean",
"style": [
{
"selector": "@media (min-width:62em) { {{WRAPPER}} { display: none; } }"
}
]
},
"hideOnTablet": {
"type": "boolean",
"style": [
{
"selector": "@media (min-width:48em) and (max-width:62em) { {{WRAPPER}} { display: none; } }"
}
]
},
"hideOnMobile": {
"type": "boolean",
"style": [
{
"selector": "@media (max-width:48em) { {{WRAPPER}} { display: none; } }"
}
]
},
"colReverseOnTablet": {
"type": "boolean",
"style": [
{
"selector": "@media (max-width:62em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"
}
]
},
"colReverseOnMobile": {
"type": "boolean",
"style": [
{
"selector": "@media (max-width:48em) { {{WRAPPER}} > .blockart-container > .blockart-section-inner { flex-direction:column-reverse; } }"
}
]
},
"blockCSS": {
"type": "string"
},
"className": {
"type": "string"
}
},
"style": "blockart-blocks",
"editorScript": "blockart-blocks",
"editorStyle": "blockart-blocks-editor",
"viewScript": [
"blockart-frontend-faq"
]
}