| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "cryptx/email", |
| 5 |
"version": "4.2.0", |
| 6 |
"title": "Protected email address", |
| 7 |
"category": "text", |
| 8 |
"icon": "email-alt", |
| 9 |
"description": "An email address that spam bots cannot read but visitors can click.", |
| 10 |
"keywords": [ "email", "mail", "address", "spam", "mailto" ], |
| 11 |
"textdomain": "cryptx", |
| 12 |
"attributes": { |
| 13 |
"address": { |
| 14 |
"type": "string", |
| 15 |
"default": "" |
| 16 |
}, |
| 17 |
"linkText": { |
| 18 |
"type": "string", |
| 19 |
"default": "" |
| 20 |
}, |
| 21 |
"subject": { |
| 22 |
"type": "string", |
| 23 |
"default": "" |
| 24 |
}, |
| 25 |
"body": { |
| 26 |
"type": "string", |
| 27 |
"default": "" |
| 28 |
}, |
| 29 |
"cc": { |
| 30 |
"type": "string", |
| 31 |
"default": "" |
| 32 |
}, |
| 33 |
"bcc": { |
| 34 |
"type": "string", |
| 35 |
"default": "" |
| 36 |
} |
| 37 |
}, |
| 38 |
"example": { |
| 39 |
"attributes": { |
| 40 |
"address": "info@example.com", |
| 41 |
"linkText": "Write to us" |
| 42 |
} |
| 43 |
}, |
| 44 |
"supports": { |
| 45 |
"html": false, |
| 46 |
"reusable": true, |
| 47 |
"spacing": { |
| 48 |
"margin": true, |
| 49 |
"padding": true |
| 50 |
}, |
| 51 |
"typography": { |
| 52 |
"fontSize": true, |
| 53 |
"lineHeight": true |
| 54 |
} |
| 55 |
}, |
| 56 |
"editorScript": "file:./index.js", |
| 57 |
"editorStyle": "file:./index.css" |
| 58 |
} |
| 59 |
|