| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "b-blocks/text-path", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Text Path", |
| 7 |
"category": "bBlocks", |
| 8 |
"description": "Craft eye-catching text paths with interactive visual effects.", |
| 9 |
"keywords": [ |
| 10 |
"path", |
| 11 |
"text path", |
| 12 |
"text on path", |
| 13 |
"svg", |
| 14 |
"svg path", |
| 15 |
"text on svg path" |
| 16 |
], |
| 17 |
"textdomain": "b-blocks", |
| 18 |
"attributes": { |
| 19 |
"align": { |
| 20 |
"type": "string", |
| 21 |
"default": "" |
| 22 |
}, |
| 23 |
"icon": { |
| 24 |
"type": "object", |
| 25 |
"default": { |
| 26 |
"type": "wave", |
| 27 |
"iconType": "library", |
| 28 |
"library": "", |
| 29 |
"upload": "", |
| 30 |
"title": "Add Your Text Here" |
| 31 |
} |
| 32 |
}, |
| 33 |
"styles": { |
| 34 |
"type": "object", |
| 35 |
"default": { |
| 36 |
"container": { |
| 37 |
"desktop": { |
| 38 |
"alignment": "flex-start" |
| 39 |
}, |
| 40 |
"tablet": { |
| 41 |
"alignment": "" |
| 42 |
}, |
| 43 |
"mobile": { |
| 44 |
"alignment": "" |
| 45 |
} |
| 46 |
}, |
| 47 |
"path": { |
| 48 |
"color": "#000", |
| 49 |
"thickness": 1, |
| 50 |
"staringPoint": 0, |
| 51 |
"rotate": 0, |
| 52 |
"size": "250px" |
| 53 |
}, |
| 54 |
"title": { |
| 55 |
"typo": { |
| 56 |
"fontSize": { |
| 57 |
"desktop": "16px" |
| 58 |
} |
| 59 |
}, |
| 60 |
"normal": { |
| 61 |
"color": "", |
| 62 |
"textShadow": [], |
| 63 |
"textStroke": { |
| 64 |
"isStroke": false, |
| 65 |
"size": 0, |
| 66 |
"color": "" |
| 67 |
} |
| 68 |
}, |
| 69 |
"hover": { |
| 70 |
"color": "", |
| 71 |
"textShadow": [], |
| 72 |
"textStroke": { |
| 73 |
"isStroke": false, |
| 74 |
"size": 0, |
| 75 |
"color": "" |
| 76 |
} |
| 77 |
}, |
| 78 |
"transition": 0.2 |
| 79 |
} |
| 80 |
} |
| 81 |
} |
| 82 |
}, |
| 83 |
"supports": { |
| 84 |
"align": [ |
| 85 |
"wide", |
| 86 |
"full" |
| 87 |
], |
| 88 |
"html": false |
| 89 |
}, |
| 90 |
"example": { |
| 91 |
"attributes": {} |
| 92 |
}, |
| 93 |
"editorScript": [ |
| 94 |
"file:../index.js", |
| 95 |
"aos" |
| 96 |
], |
| 97 |
"style": "file:./view.css", |
| 98 |
"render": "file:./render.php", |
| 99 |
"viewScript": "file:./view.js" |
| 100 |
} |