Dashboard
PHP:
8.4.22
OS:
Linux
User:
provencez
/
/
home
/
provencez
/
www
/
wp-content
/
plugins
/
flexa-block
/
build
/
blocks
/
breadcrumb
📤 Upload
📝 New File
📁 New Folder
Close
Editing: block.json
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "flexa/breadcrumb", "version": "1.0.0", "title": "Breadcrumb", "category": "flexa", "description": "Hierarchical breadcrumb trail — auto-built from the current page's ancestors or listed by hand, with a home icon, a chosen separator, link / current / separator colours, per-device typography and optional BreadcrumbList schema.", "keywords": [ "flexa", "breadcrumb", "breadcrumbs", "navigation", "trail", "path" ], "textdomain": "flexa-block", "example": { "attributes": { "isExamplePreview": true }, "viewportWidth": 500 }, "attributes": { "isExamplePreview": { "type": "boolean", "default": false }, "blockId": { "type": "string" }, "htmlTag": { "type": "string", "default": "nav" }, "source": { "type": "string", "default": "auto", "enum": [ "auto", "manual" ] }, "items": { "type": "array", "default": [ { "label": "Home", "url": "#" }, { "label": "Category", "url": "#" }, { "label": "Current page", "url": "" } ] }, "homeIcon": { "type": "boolean", "default": false }, "homeIconValue": { "type": "object", "default": {} }, "homeText": { "type": "string", "default": "Home" }, "separator": { "type": "object", "default": { "type": "slash", "custom": "" } }, "showCurrent": { "type": "boolean", "default": true }, "currentIsLink": { "type": "boolean", "default": false }, "alignment": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "itemGap": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "maxWidth": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "typography": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "linkColor": { "type": "object", "default": { "light": "", "dark": "" } }, "linkColorHover": { "type": "object", "default": { "light": "", "dark": "" } }, "currentColor": { "type": "object", "default": { "light": "", "dark": "" } }, "currentColorHover": { "type": "object", "default": { "light": "", "dark": "" } }, "separatorColor": { "type": "object", "default": { "light": "", "dark": "" } }, "separatorColorHover": { "type": "object", "default": { "light": "", "dark": "" } }, "enableSchema": { "type": "boolean", "default": false }, "spacing": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "background": { "type": "object", "default": { "type": "none", "color": { "light": "", "dark": "" }, "gradient": { "light": "", "dark": "" }, "image": { "url": "", "id": null, "position": "center center", "repeat": "no-repeat", "size": "cover", "attachment": "scroll" }, "lazyLoad": false } }, "border": { "type": "object", "default": { "desktop": { "style": "", "width": { "top": "", "right": "", "bottom": "", "left": "", "unit": "px" }, "color": { "light": "", "dark": "" }, "radius": { "topLeft": "", "topRight": "", "bottomRight": "", "bottomLeft": "", "unit": "px" } }, "tablet": {}, "mobile": {} } }, "advancedLayout": { "type": "object", "default": { "desktop": { "zIndex": "", "overflow": "", "position": "" }, "tablet": {}, "mobile": {} } }, "responsiveVisibility": { "type": "object", "default": { "hideOnDesktop": false, "hideOnTablet": false, "hideOnMobile": false } }, "animation": { "type": "object", "default": { "type": "none", "duration": "normal", "delay": "" } }, "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