| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"textdomain": "getwid", |
| 5 |
"name": "getwid/advanced-heading", |
| 6 |
"description": "Creates a customizable heading.", |
| 7 |
"category": "getwid-blocks", |
| 8 |
"title": "Advanced Heading", |
| 9 |
"keywords": [ |
| 10 |
"Title" |
| 11 |
], |
| 12 |
"supports": { |
| 13 |
"anchor": true, |
| 14 |
"align": [ |
| 15 |
"wide", |
| 16 |
"full" |
| 17 |
] |
| 18 |
}, |
| 19 |
"attributes": { |
| 20 |
"content": { |
| 21 |
"type": "string", |
| 22 |
"source": "html", |
| 23 |
"selector": ".wp-block-getwid-advanced-heading__content", |
| 24 |
"default": "" |
| 25 |
}, |
| 26 |
"backgroundColor": { |
| 27 |
"type": "string" |
| 28 |
}, |
| 29 |
"textColor": { |
| 30 |
"type": "string" |
| 31 |
}, |
| 32 |
"customBackgroundColor": { |
| 33 |
"type": "string" |
| 34 |
}, |
| 35 |
"customTextColor": { |
| 36 |
"type": "string" |
| 37 |
}, |
| 38 |
"titleTag": { |
| 39 |
"type": "string", |
| 40 |
"default": "span" |
| 41 |
}, |
| 42 |
"anchor": { |
| 43 |
"type": "string" |
| 44 |
}, |
| 45 |
"fontGroupID": { |
| 46 |
"type": "string", |
| 47 |
"default": "" |
| 48 |
}, |
| 49 |
"fontFamily": { |
| 50 |
"type": "string", |
| 51 |
"default": "" |
| 52 |
}, |
| 53 |
"fontSize": { |
| 54 |
"type": "string" |
| 55 |
}, |
| 56 |
"fontSizeTablet": { |
| 57 |
"type": "string", |
| 58 |
"default": "fs-tablet-100" |
| 59 |
}, |
| 60 |
"fontSizeMobile": { |
| 61 |
"type": "string", |
| 62 |
"default": "fs-mobile-100" |
| 63 |
}, |
| 64 |
"fontWeight": { |
| 65 |
"type": "string" |
| 66 |
}, |
| 67 |
"fontStyle": { |
| 68 |
"type": "string" |
| 69 |
}, |
| 70 |
"textTransform": { |
| 71 |
"type": "string" |
| 72 |
}, |
| 73 |
"lineHeight": { |
| 74 |
"type": "string" |
| 75 |
}, |
| 76 |
"letterSpacing": { |
| 77 |
"type": "string" |
| 78 |
}, |
| 79 |
"align": { |
| 80 |
"type": "string" |
| 81 |
}, |
| 82 |
"textAlignment": { |
| 83 |
"type": "string" |
| 84 |
}, |
| 85 |
"paddingTop": { |
| 86 |
"type": "string" |
| 87 |
}, |
| 88 |
"paddingBottom": { |
| 89 |
"type": "string" |
| 90 |
}, |
| 91 |
"paddingLeft": { |
| 92 |
"type": "string" |
| 93 |
}, |
| 94 |
"paddingRight": { |
| 95 |
"type": "string" |
| 96 |
}, |
| 97 |
"marginTop": { |
| 98 |
"type": "string" |
| 99 |
}, |
| 100 |
"marginBottom": { |
| 101 |
"type": "string" |
| 102 |
}, |
| 103 |
"marginLeft": { |
| 104 |
"type": "string" |
| 105 |
}, |
| 106 |
"marginRight": { |
| 107 |
"type": "string" |
| 108 |
} |
| 109 |
}, |
| 110 |
"editorScript": "file:./index.js", |
| 111 |
"editorStyle": "file:./index.css", |
| 112 |
"style": [ |
| 113 |
"file:./style-index.css" |
| 114 |
] |
| 115 |
} |