Dashboard
PHP:
8.4.22
OS:
Linux
User:
provencez
/
/
home
/
provencez
/
www
/
wp-content
/
plugins
/
flexa-block
/
build
/
blocks
/
separator
📤 Upload
📝 New File
📁 New Folder
Close
Editing: block.json
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "flexa/separator", "version": "1.0.0", "title": "Separator", "category": "flexa", "description": "Horizontal divider line with per-device width, thickness and alignment, a solid/dashed/dotted/double style and light/dark colour.", "keywords": [ "flexa", "separator", "divider", "line", "rule" ], "textdomain": "flexa-block", "example": { "attributes": { "isExamplePreview": true }, "viewportWidth": 500 }, "attributes": { "isExamplePreview": { "type": "boolean", "default": false }, "blockId": { "type": "string" }, "alignment": { "type": "object", "default": { "desktop": "", "tablet": "", "mobile": "" } }, "width": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "weight": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "lineStyle": { "type": "string", "default": "" }, "color": { "type": "object", "default": { "light": "", "dark": "" } }, "spacing": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "responsiveVisibility": { "type": "object", "default": { "hideOnDesktop": false, "hideOnTablet": false, "hideOnMobile": false } }, "animation": { "type": "object", "default": { "type": "none", "duration": "normal", "delay": "" } }, "htmlTag": { "type": "string", "default": "div" }, "htmlAttributes": { "type": "object", "default": { "customAttributes": [] } } }, "supports": { "anchor": true, "className": true, "html": false, "align": false }, "editorScript": "file:./index.js", "editorStyle": "file:./index.css", "style": "file:./style-index.css", "render": "file:./render.php" }
Save
Cancel