hivewrite-sdk 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/assets/hivewrite-icon.png +0 -0
- package/bundle.min.js +1 -1
- package/index.d.ts +0 -0
- package/index.js +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,7 +106,7 @@ Initializes and mounts the editor.
|
|
|
106
106
|
| `locale` | `string` | No | `'en'` (default), `'es'`, or `'fr'` |
|
|
107
107
|
| `branding` | `object` | No | Custom white-labeling options |
|
|
108
108
|
| `permissions` | `object` | No | Toggle features: `exportHTML`, `aiMagic`, `uploadImages` |
|
|
109
|
-
| `mergeTags` | `array` | No | Array of `{
|
|
109
|
+
| `mergeTags` | `array` | No | Array of `{ label, value }` for dynamic content |
|
|
110
110
|
| `callbacks` | `object` | No | Event hooks for SDK actions |
|
|
111
111
|
|
|
112
112
|
---
|
|
@@ -205,9 +205,9 @@ Add dynamic content placeholders:
|
|
|
205
205
|
|
|
206
206
|
```javascript
|
|
207
207
|
mergeTags: [
|
|
208
|
-
{
|
|
209
|
-
{
|
|
210
|
-
{
|
|
208
|
+
{ label: 'First Name', value: '{{first_name}}' },
|
|
209
|
+
{ label: 'Company', value: '{{company}}' },
|
|
210
|
+
{ label: 'Unsubscribe Link', value: '{{unsubscribe_url}}' }
|
|
211
211
|
]
|
|
212
212
|
```
|
|
213
213
|
|
|
File without changes
|