Dashboard
PHP:
8.4.22
OS:
Linux
User:
provencez
/
/
home
/
provencez
/
www
/
wp-content
/
plugins
/
flexa-block
/
build
/
blocks
/
social-share
📤 Upload
📝 New File
📁 New Folder
Close
Editing: block.json
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "flexa/social-share", "version": "1.0.0", "title": "Social Share", "category": "flexa", "description": "Row of share buttons that post the current page to Facebook, X, LinkedIn or Pinterest — with per-device size, gap, alignment, a button shape, official brand or custom-tinted icons and a hover motion.", "keywords": [ "flexa", "share", "social", "sharing", "facebook", "twitter" ], "textdomain": "flexa-block", "example": { "attributes": { "isExamplePreview": true }, "viewportWidth": 500 }, "attributes": { "isExamplePreview": { "type": "boolean", "default": false }, "blockId": { "type": "string" }, "htmlTag": { "type": "string", "default": "div" }, "items": { "type": "array", "default": [ { "network": "facebook" }, { "network": "x" }, { "network": "linkedin" }, { "network": "pinterest" } ] }, "shareSource": { "type": "string", "default": "current", "enum": [ "current", "custom" ] }, "shareUrl": { "type": "string", "default": "" }, "shareTitle": { "type": "string", "default": "" }, "shareImage": { "type": "string", "default": "" }, "newTab": { "type": "boolean", "default": true }, "direction": { "type": "string", "default": "row", "enum": [ "row", "column" ] }, "iconSize": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "gap": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "alignment": { "type": "object", "default": { "desktop": "", "tablet": "", "mobile": "" } }, "hoverEffect": { "type": "string", "default": "", "enum": [ "", "grow", "shrink", "lift", "rotate" ] }, "colorMode": { "type": "string", "default": "official", "enum": [ "official", "custom" ] }, "tint": { "type": "object", "default": { "light": "", "dark": "" } }, "shape": { "type": "string", "default": "bare", "enum": [ "bare", "rounded", "circle", "square" ] }, "buttonBackground": { "type": "object", "default": { "light": "", "dark": "" } }, "spacing": { "type": "object", "default": { "desktop": {}, "tablet": {}, "mobile": {} } }, "background": { "type": "object", "default": { "type": "none", "color": { "light": "", "dark": "" }, "gradient": { "light": "", "dark": "" } } }, "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": {} } }, "boxShadow": { "type": "object", "default": { "horizontal": "0", "vertical": "4", "blur": "12", "spread": "0", "color": { "light": "rgba(0,0,0,0.1)", "dark": "" }, "inset": false, "enabled": false } }, "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