| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "ablocks/atomic-text", |
| 5 |
"version": "0.1.0", |
| 6 |
"title": "Atomic Text", |
| 7 |
"category": "ablocks-atomic", |
| 8 |
"description": "One atomic text block for headings and paragraphs — renders a single semantic tag with no wrapper.", |
| 9 |
"keywords": [ |
| 10 |
"ablocks", |
| 11 |
"text", |
| 12 |
"heading", |
| 13 |
"paragraph", |
| 14 |
"atomic" |
| 15 |
], |
| 16 |
"supports": { |
| 17 |
"html": false, |
| 18 |
"anchor": true, |
| 19 |
"className": false |
| 20 |
}, |
| 21 |
"textdomain": "ablocks", |
| 22 |
"editorStyle": [ |
| 23 |
"ablocks-common-style", |
| 24 |
"file:./style.css" |
| 25 |
], |
| 26 |
"style": [ |
| 27 |
"file:./style.css" |
| 28 |
], |
| 29 |
"editorScript": [ |
| 30 |
"ablocks-common-script" |
| 31 |
], |
| 32 |
"viewScript": [ |
| 33 |
"file:./view.js" |
| 34 |
], |
| 35 |
"attributes": { |
| 36 |
"block_id": { |
| 37 |
"type": "string", |
| 38 |
"default": "" |
| 39 |
}, |
| 40 |
"blockVersion": { |
| 41 |
"type": "number", |
| 42 |
"default": 3 |
| 43 |
}, |
| 44 |
"tag": { |
| 45 |
"type": "string", |
| 46 |
"default": "p" |
| 47 |
}, |
| 48 |
"content": { |
| 49 |
"type": "string", |
| 50 |
"source": "html", |
| 51 |
"selector": ".ablocks-atomic-text", |
| 52 |
"default": "" |
| 53 |
}, |
| 54 |
"globalClasses": { |
| 55 |
"type": "array", |
| 56 |
"default": [] |
| 57 |
}, |
| 58 |
"htmlId": { |
| 59 |
"type": "string", |
| 60 |
"default": "" |
| 61 |
}, |
| 62 |
"link": { |
| 63 |
"type": "object", |
| 64 |
"default": { |
| 65 |
"url": "", |
| 66 |
"newTab": false, |
| 67 |
"noFollow": false |
| 68 |
} |
| 69 |
}, |
| 70 |
"animation": { |
| 71 |
"type": "object", |
| 72 |
"default": { |
| 73 |
"type": "", |
| 74 |
"duration": "0.6", |
| 75 |
"delay": "0" |
| 76 |
} |
| 77 |
}, |
| 78 |
"animations": { |
| 79 |
"type": "array", |
| 80 |
"default": [] |
| 81 |
}, |
| 82 |
"transitionDuration": { |
| 83 |
"type": "string", |
| 84 |
"default": "" |
| 85 |
}, |
| 86 |
"alignment": { |
| 87 |
"type": "object", |
| 88 |
"default": { |
| 89 |
"value": "", |
| 90 |
"valueTablet": "", |
| 91 |
"valueMobile": "" |
| 92 |
} |
| 93 |
}, |
| 94 |
"styles": { |
| 95 |
"type": "object", |
| 96 |
"default": { |
| 97 |
"v": 3 |
| 98 |
} |
| 99 |
}, |
| 100 |
"customCSS": { |
| 101 |
"type": "string", |
| 102 |
"default": "" |
| 103 |
}, |
| 104 |
"hideOn": { |
| 105 |
"type": "object", |
| 106 |
"default": { |
| 107 |
"desktop": false, |
| 108 |
"tablet": false, |
| 109 |
"mobile": false |
| 110 |
} |
| 111 |
} |
| 112 |
} |
| 113 |
} |