| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"name": "sellkit-blocks/optin", |
| 4 |
"title": "Optin", |
| 5 |
"category": "sellkit-blocks", |
| 6 |
"textdomain": "sellkit", |
| 7 |
"attributes": { |
| 8 |
"locations": { |
| 9 |
"type": "array", |
| 10 |
"default": [] |
| 11 |
}, |
| 12 |
"selectedCRM": { |
| 13 |
"type": "array", |
| 14 |
"default": [] |
| 15 |
}, |
| 16 |
"activeCampaign": { |
| 17 |
"type": "object", |
| 18 |
"default": {} |
| 19 |
}, |
| 20 |
"convertKit": { |
| 21 |
"type": "object", |
| 22 |
"default": {} |
| 23 |
}, |
| 24 |
"drip": { |
| 25 |
"type": "object", |
| 26 |
"default": {} |
| 27 |
}, |
| 28 |
"getResponse": { |
| 29 |
"type": "object", |
| 30 |
"default": {} |
| 31 |
}, |
| 32 |
"mailChimp": { |
| 33 |
"type": "object", |
| 34 |
"default": {} |
| 35 |
}, |
| 36 |
"mailerLite": { |
| 37 |
"type": "object", |
| 38 |
"default": {} |
| 39 |
}, |
| 40 |
"webhookURL": { |
| 41 |
"type": "string", |
| 42 |
"default": "" |
| 43 |
}, |
| 44 |
"afterSubmitDownload": { |
| 45 |
"type": "string", |
| 46 |
"default": "" |
| 47 |
}, |
| 48 |
"afterSubmitDownloadURL": { |
| 49 |
"type": "string", |
| 50 |
"default": "" |
| 51 |
}, |
| 52 |
"afterSubmitDownloadMedia": { |
| 53 |
"type": "object", |
| 54 |
"default": { |
| 55 |
"url": "", |
| 56 |
"filename": "" |
| 57 |
} |
| 58 |
}, |
| 59 |
"afterSubmitRedirect": { |
| 60 |
"type": "string", |
| 61 |
"default": "" |
| 62 |
}, |
| 63 |
"afterSubmitRedirectURL": { |
| 64 |
"type": "string", |
| 65 |
"default": "" |
| 66 |
}, |
| 67 |
"customMessagesEnabled": { |
| 68 |
"type": "boolean", |
| 69 |
"default": false |
| 70 |
}, |
| 71 |
"successCustomMessage": { |
| 72 |
"type": "string", |
| 73 |
"default": "The form was sent successfully!" |
| 74 |
}, |
| 75 |
"errorsCustomMessage": { |
| 76 |
"type": "string", |
| 77 |
"default": "Please check the errors." |
| 78 |
}, |
| 79 |
"requiredCustomMessage": { |
| 80 |
"type": "string", |
| 81 |
"default": "Required" |
| 82 |
}, |
| 83 |
"clientId": { |
| 84 |
"type": "string", |
| 85 |
"default": "" |
| 86 |
}, |
| 87 |
"postId": { |
| 88 |
"type": "number", |
| 89 |
"default": 0 |
| 90 |
}, |
| 91 |
"formId": { |
| 92 |
"type": "string", |
| 93 |
"default": "" |
| 94 |
}, |
| 95 |
"textAlign": { |
| 96 |
"type": "string" |
| 97 |
}, |
| 98 |
"submitButtonText": { |
| 99 |
"type": "string", |
| 100 |
"default": "Subscribe" |
| 101 |
} |
| 102 |
}, |
| 103 |
"supports": { |
| 104 |
"color": { |
| 105 |
"gradients": true, |
| 106 |
"heading": true, |
| 107 |
"__experimentalDefaultControls": { |
| 108 |
"background": true, |
| 109 |
"text": true |
| 110 |
} |
| 111 |
}, |
| 112 |
"spacing": { |
| 113 |
"margin": true, |
| 114 |
"padding": true |
| 115 |
}, |
| 116 |
"typography": { |
| 117 |
"fontSize": true, |
| 118 |
"lineHeight": true, |
| 119 |
"__experimentalFontStyle": true, |
| 120 |
"__experimentalFontWeight": true, |
| 121 |
"__experimentalLetterSpacing": true, |
| 122 |
"__experimentalTextTransform": true, |
| 123 |
"__experimentalDefaultControls": { |
| 124 |
"fontSize": true |
| 125 |
} |
| 126 |
}, |
| 127 |
"inserter": true, |
| 128 |
"anchor": true, |
| 129 |
"alignWide": true, |
| 130 |
"html": false, |
| 131 |
"multiple": true, |
| 132 |
"reusable": false |
| 133 |
}, |
| 134 |
"editorStyle": "file:../../../../assets/dist/blocks/optin/editor.css", |
| 135 |
"style": [ |
| 136 |
"wp-block-sellkit-optin", |
| 137 |
"file:../../../../assets/dist/blocks/optin/frontend.css" |
| 138 |
], |
| 139 |
"apiVersion": 3 |
| 140 |
} |
| 141 |
|