useblocks 1.0.101-alpha.1 → 1.0.101-alpha.14
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 +173 -44
- package/asset-manifest.json +68 -60
- package/fileManager.d.ts +605 -0
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/766.js.LICENSE.txt +1 -0
- package/iframe/css/main.css +128 -0
- package/iframe/css/main.css.js +0 -0
- package/iframe/css/sandbox-dark.css +122 -120
- package/iframe/css/sandbox-darktheme.css +161 -131
- package/iframe/css/sandbox-light.css +91 -90
- package/iframe/css/sandbox.css +1368 -1136
- package/iframe/css/sandbox.locale.en_en.css +10 -9
- package/iframe/css/sandbox.locale.ru_ru.css +10 -9
- package/iframe/iframe-eblock.d9eee3cfa65b740013f4.html +1 -0
- package/iframe/iframe.d9eee3cfa65b740013f4.html +1 -0
- package/iframe/index.html +16 -0
- package/iframe/js/174.b231c1ec.js +1 -0
- package/iframe/js/{330.758a4ba7.js.LICENSE.txt → 174.b231c1ec.js.LICENSE.txt} +0 -2
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox-eblock.js.LICENSE.txt +2 -0
- package/iframe/sandbox.js +1 -1
- package/iframe/sandbox.js.LICENSE.txt +2 -0
- package/js/amplitude.min.js +10861 -2
- package/js/sourcebuster.min.js +673 -0
- package/package.json +1 -1
- package/react/index.d.ts +1 -1
- package/static/css/191.4eb0c3d0.chunk.css +1 -0
- package/static/css/{6501.e131603e.chunk.css → 6501.f06bd28a.chunk.css} +1 -1
- package/static/css/9599.7e858636.chunk.css +1 -0
- package/static/css/main.d1013206.css +1 -0
- package/static/js/1538.04863579.js +2 -0
- package/static/js/191.5ee9f9d4.js +1 -0
- package/static/js/3017.0cfa521e.js +1 -0
- package/static/js/3467.aff9e25f.js +2 -0
- package/static/js/3467.aff9e25f.js.LICENSE.txt +9 -0
- package/static/js/{4643.21c8bc79.js → 3554.771c4212.js} +2 -2
- package/static/js/3582.c0c7fbf5.js +2 -0
- package/static/js/{4972.a230fee4.js → 4972.d9c59bfc.js} +1 -1
- package/static/js/5447.84d47f60.js +2 -0
- package/static/js/6501.0e7051f8.js +1 -0
- package/static/js/6819.3e90e2de.js +2 -0
- package/static/js/7918.467d1321.js +2 -0
- package/static/js/{8090.e83eb641.js.LICENSE.txt → 7918.467d1321.js.LICENSE.txt} +7 -0
- package/static/js/7995.f6fcba7b.js +2 -0
- package/static/js/{3497.b7264aa8.js.LICENSE.txt → 7995.f6fcba7b.js.LICENSE.txt} +0 -10
- package/static/js/{84.c6e39955.js → 84.bc6ea4f1.js} +1 -1
- package/static/js/9051.5f449f61.js +1 -0
- package/static/js/931.249dc209.js +2 -0
- package/static/js/{6798.c4ba8a63.js.LICENSE.txt → 931.249dc209.js.LICENSE.txt} +0 -7
- package/static/js/9599.15817e1f.js +2 -0
- package/static/js/{7455.66a34698.js.LICENSE.txt → 9599.15817e1f.js.LICENSE.txt} +0 -7
- package/static/js/9960.3ac0c626.js +2 -0
- package/static/js/{7419.28b3875c.js.LICENSE.txt → 9960.3ac0c626.js.LICENSE.txt} +10 -0
- package/static/js/useblocks_core.4165f1ea.js +2 -0
- package/static/media/image-editor/fonts/BebasNeueBold.woff2 +0 -0
- package/static/media/image-editor/fonts/BebasNeueBook.woff2 +0 -0
- package/static/media/image-editor/fonts/BebasNeueLight.woff2 +0 -0
- package/static/media/image-editor/fonts/BebasNeueRegular.woff2 +0 -0
- package/static/media/image-editor/fonts/Lato-Black.woff2 +0 -0
- package/static/media/image-editor/fonts/Lato-Bold.woff2 +0 -0
- package/static/media/image-editor/fonts/Lato-Light.woff2 +0 -0
- package/static/media/image-editor/fonts/Lato-Regular.woff2 +0 -0
- package/static/media/image-editor/fonts/Lobster.woff2 +0 -0
- package/static/media/image-editor/fonts/Montserrat-Black.woff2 +0 -0
- package/static/media/image-editor/fonts/Montserrat-Bold.woff2 +0 -0
- package/static/media/image-editor/fonts/Montserrat-Light.woff2 +0 -0
- package/static/media/image-editor/fonts/Montserrat-Regular.woff2 +0 -0
- package/static/media/image-editor/fonts/Roboto-Black.woff2 +0 -0
- package/static/media/image-editor/fonts/Roboto-Bold.woff2 +0 -0
- package/static/media/image-editor/fonts/Roboto-Light.woff2 +0 -0
- package/static/media/image-editor/fonts/Roboto-Regular.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Black.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Bold.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Light.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Regular.woff2 +0 -0
- package/static/media/image-editor/fonts/caveat-v23-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/commissioner-v24-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/inter-v20-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/oswald-v57-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/pacifico-v23-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/playfair-display-v40-cyrillic_latin-regular.woff2 +0 -0
- package/useblocks-esm.js +1 -1
- package/useblocks.d.ts +128 -101
- package/useblocks.js +1 -1
- package/vite/index.d.ts +2 -3
- package/vite/index.js +35 -36
- package/vite/mime-types.js +177 -177
- package/vite/utils.js +28 -34
- package/webpack/index.d.ts +3 -3
- package/webpack/index.js +43 -30
- package/android-chrome-192x192.png +0 -0
- package/android-chrome-512x512.png +0 -0
- package/apple-touch-icon-b.png +0 -0
- package/apple-touch-icon.png +0 -0
- package/favicon-16x16.png +0 -0
- package/favicon-32x32.png +0 -0
- package/fm-notification.d.ts +0 -368
- package/icon-192.png +0 -0
- package/icon-512.png +0 -0
- package/icon.svg +0 -2
- package/iframe/iframe-eblock.61c3bb6d8b0e90360536.html +0 -1
- package/iframe/iframe.61c3bb6d8b0e90360536.html +0 -1
- package/iframe/js/330.758a4ba7.js +0 -1
- package/manifest-b.json +0 -16
- package/plugin.html +0 -301
- package/plugin_blocks_test.html +0 -144
- package/plugin_default.html +0 -66
- package/plugin_idigital.html +0 -254
- package/plugin_nota.html +0 -861
- package/plugin_s.html +0 -31
- package/robots.txt +0 -3
- package/static/css/3435.48ebeca1.chunk.css +0 -1
- package/static/css/6798.4b23f0cb.chunk.css +0 -1
- package/static/js/1538.b373152b.js +0 -2
- package/static/js/3017.3ec487e6.js +0 -1
- package/static/js/3261.688dcc69.js +0 -2
- package/static/js/3435.87b83ffd.js +0 -1
- package/static/js/3497.b7264aa8.js +0 -2
- package/static/js/5447.59490aec.js +0 -2
- package/static/js/6501.928c50cb.js +0 -1
- package/static/js/6798.c4ba8a63.js +0 -2
- package/static/js/6819.c2bea9e8.js +0 -2
- package/static/js/7419.28b3875c.js +0 -2
- package/static/js/7455.66a34698.js +0 -2
- package/static/js/8090.e83eb641.js +0 -2
- package/static/js/9950.23e6d7bc.js +0 -1
- package/static/js/useblocks_core.c1a94eae.js +0 -2
- package/static/media/image-editor/fonts/TrashHand.ttf +0 -0
- package/static/media/image-editor/fonts/aleo-v4-latin-ext_latin-700.woff2 +0 -0
- package/static/media/image-editor/fonts/amatic-sc-v16-latin-ext_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/bungee-inline-v6-latin-ext_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/carter-one-v12-latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/codystar-v10-latin-ext_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/corinthia-v7-latin-ext_latin-700.woff2 +0 -0
- package/static/media/image-editor/fonts/fuzzy-bubbles-v3-latin-700.woff2 +0 -0
- package/static/media/image-editor/fonts/krona-one-v9-latin-ext_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/kumar-one-outline-v8-latin-ext_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/lobster-two-v13-latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/molle-v11-latin-ext_latin-italic.woff2 +0 -0
- package/static/media/image-editor/fonts/monoton-v10-latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/nixie-one-v11-latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/open-sans-v27-latin-ext_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/permanent-marker-v10-latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/roboto-slab-v16-latin-ext_latin-500.woff2 +0 -0
- package/static/media/image-editor/fonts/sancreek-v13-latin-ext_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/stint-ultra-expanded-v10-latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/vt323-v12-latin-ext_latin-regular.woff2 +0 -0
- package/translations.pot +0 -4949
- /package/static/js/{1538.b373152b.js.LICENSE.txt → 1538.04863579.js.LICENSE.txt} +0 -0
- /package/static/js/{4643.21c8bc79.js.LICENSE.txt → 3554.771c4212.js.LICENSE.txt} +0 -0
- /package/static/js/{3261.688dcc69.js.LICENSE.txt → 3582.c0c7fbf5.js.LICENSE.txt} +0 -0
- /package/static/js/{5447.59490aec.js.LICENSE.txt → 5447.84d47f60.js.LICENSE.txt} +0 -0
- /package/static/js/{6819.c2bea9e8.js.LICENSE.txt → 6819.3e90e2de.js.LICENSE.txt} +0 -0
- /package/static/js/{useblocks_core.c1a94eae.js.LICENSE.txt → useblocks_core.4165f1ea.js.LICENSE.txt} +0 -0
package/README.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
> It is a Dev version of the Blocks email builder plugin.<br>The Prod version that will be released in the nearest future will have minor differences: it will not contain experimental features and the whole already existing feature set will be tested way more thoroughly before the releases.
|
|
2
|
-
|
|
3
1
|
# Installation
|
|
4
2
|
Run this code in the command prompt:
|
|
5
3
|
|
|
6
4
|
```cmd
|
|
7
|
-
$ npm i useblocks@1.0.101-alpha.
|
|
5
|
+
$ npm i useblocks@1.0.101-alpha.14 -save
|
|
8
6
|
```
|
|
9
7
|
|
|
10
8
|
Add the Blocks plugin to your App config.
|
|
@@ -103,12 +101,139 @@ This section is dedicated to setting the appearance and settings of the editor.
|
|
|
103
101
|
##### The list of parameters of the config section
|
|
104
102
|
| Parameter | Description | Default |
|
|
105
103
|
| ---------------------- | --------------------------------- | ------- |
|
|
106
|
-
| theme
|
|
107
|
-
|
|
|
108
|
-
|
|
|
109
|
-
|
|
|
110
|
-
|
|
|
111
|
-
|
|
|
104
|
+
| theme | Plugin theme: light, dark. | light |
|
|
105
|
+
| autosaveTimeout | Delay before autosave, ms. | 10000 |
|
|
106
|
+
| mergeTags | JSON with the list of dynamic variables. | undefined |
|
|
107
|
+
| styles | String with styles in CSS format. | '' |
|
|
108
|
+
| | | |
|
|
109
|
+
| headerShow | Show header. | true |
|
|
110
|
+
| headerArrowBackVisible | Show “Back” arrow. | true |
|
|
111
|
+
| headerTitleVisible | Show “Subject” field. | true |
|
|
112
|
+
| headerPreheaderVisible | Show “Preheader” field. | true |
|
|
113
|
+
| historyEnabled | Show “Version history” button. | true |
|
|
114
|
+
| codeEnabled | Show “Code mode” button. | true |
|
|
115
|
+
| codeSideEnabled | Show “Code mode” button when desktop/mobile toggle is available. | true |
|
|
116
|
+
| previewIconEnabled | Show “Preview” button. | true |
|
|
117
|
+
| previewModeEnabled | Link to Preview. | true |
|
|
118
|
+
| livePreviewEnabled | Show “Email client testing” button. | true |
|
|
119
|
+
| sendTestEnabled | Show “Send test” button. | true |
|
|
120
|
+
| sharePreviewEnabled | Show “Share” button. | true |
|
|
121
|
+
| webversionEnabled | Show link to web version. | true |
|
|
122
|
+
| commonStylesEnabled | Show content styles. | true |
|
|
123
|
+
| emailResponsiveControlEnabled | Show email responsiveness toggle. | true |
|
|
124
|
+
| templateNotEmAlertShow | Show alert that template is not from EM. | true |
|
|
125
|
+
| | | |
|
|
126
|
+
| emailDropdownMenuEnabled | Show email menu. | true |
|
|
127
|
+
| emailDropdownMenuClone | Show “Clone” item. | true |
|
|
128
|
+
| emailDropdownMenuImport | Show “Import” item. | true |
|
|
129
|
+
| emailDropdownMenuImportButton | Show “Import” as a button. | true |
|
|
130
|
+
| emailDropdownMenuLock | Show “Lock” item. | true |
|
|
131
|
+
| emailDropdownMenuRemove | Show “Delete” item. | true |
|
|
132
|
+
| | | |
|
|
133
|
+
| emailExportEnabled | Show “Export” button. | true |
|
|
134
|
+
| exportHtmlEnabled | Export to HTML. | true |
|
|
135
|
+
| exportZipEnabled | Export to ZIP. | true |
|
|
136
|
+
| exportClipboardEnabled | Export to clipboard. | true |
|
|
137
|
+
| exportWebHookEnabled | Export to webhook. | true |
|
|
138
|
+
| exportOutlookEnabled | Export to Outlook. | true |
|
|
139
|
+
| exportPdfEnabled | Export to PDF. | true |
|
|
140
|
+
| exportPngEnabled | Export to PNG. | true |
|
|
141
|
+
| | | |
|
|
142
|
+
| nextButtonEnabled | Show secondary button. | false |
|
|
143
|
+
| nextButtonText | Text on secondary button. | '' |
|
|
144
|
+
| saveButtonEnabled | Show primary button. | true |
|
|
145
|
+
| saveButtonText | Text on primary button. | true |
|
|
146
|
+
| commandButtonsEnabled | Show primary and secondary buttons. | true |
|
|
147
|
+
| | | |
|
|
148
|
+
| sidePanelFloating | Floating side panel. | true |
|
|
149
|
+
| desktopMobileSwitchRule | Modes switch bar. | true |
|
|
150
|
+
| desktopMobileSwitchPanel | Modes switch panel. | false |
|
|
151
|
+
| onlyCodeModeInMobile | Show only code on mobile. | false |
|
|
152
|
+
| | | |
|
|
153
|
+
| pathEnabled | Show breadcrumbs. | true |
|
|
154
|
+
| copyPasteEnabled | Show copy–paste block in iframe. | true |
|
|
155
|
+
| saveBlockEnabled | Show save block button. | true |
|
|
156
|
+
| editImageControlEnabled | Show image editing button. | true |
|
|
157
|
+
| | | |
|
|
158
|
+
| menuDirection | Side panel position. | 'right' |
|
|
159
|
+
| defaultBuildPanel | Default opened tab setting. | ''/'empty'/'project'/'common'/'template' |
|
|
160
|
+
| commentsEnabled | Show “Comments” button. | true |
|
|
161
|
+
| aiAssistentEnabled | Show “AI assistant”. | true |
|
|
162
|
+
| optimizeEnabled | Show “Optimization” button. | true |
|
|
163
|
+
| optimizeLinksEnabled | Show links check. | true |
|
|
164
|
+
| optimizeImagesEnabled | Show images check. | true |
|
|
165
|
+
| optimizeSpamAssassinEnabled | Show SpamAssassin check. | true |
|
|
166
|
+
| optimizeCheckCodeEnabled | Show code check. | true |
|
|
167
|
+
| settingsEnabled | Show “Settings” button. | true |
|
|
168
|
+
| UTMEnabled | Show UTM tags tab. | true |
|
|
169
|
+
| descriptionEnabled | Show “Description” field in settings. | true |
|
|
170
|
+
| tagsEnabled | Show “Tags” field in settings. | true |
|
|
171
|
+
| switchDesktopMobilePropsEnabled | Show mobile properties toggle. | true |
|
|
172
|
+
| stepToOtherElementEnabled | Show buttons to jump to other elements. | true |
|
|
173
|
+
| deleteButtonEnabled | Show delete element button. | true |
|
|
174
|
+
| toggleSidePanel | Allow collapsing side panel. | true |
|
|
175
|
+
| blocksSectionsShow | Show blocks menu. | true |
|
|
176
|
+
| blocksEmptyEnabled | Show empty blocks. | true |
|
|
177
|
+
| blocksSavedEnabled | Show saved blocks. | true |
|
|
178
|
+
| blocksCommonEnabled | Show common blocks. | true |
|
|
179
|
+
| blocksTemplateEnabled | Show template blocks. | true |
|
|
180
|
+
| blocksSearchEnabled | Show blocks search. | true |
|
|
181
|
+
| blocksAddPanelEnabled | Show add block panel in visual editor. | true |
|
|
182
|
+
| imagePathDropdownEnabled | Show dropdown with image path. | true |
|
|
183
|
+
| | | |
|
|
184
|
+
| formFieldImageTitleEnabled | Show title field in image form. | true |
|
|
185
|
+
| formFieldBorderEnabled | Show border controls. | true |
|
|
186
|
+
| formFieldBorderRadiusEnabled | Show border radius controls. | true |
|
|
187
|
+
| formFieldBoxShadowEnabled | Show shadow controls. | true |
|
|
188
|
+
| formFieldVisibilityEnabled | Show element visibility controls. | true |
|
|
189
|
+
| formFieldExportAsPictureEnabled | Show “export as image” toggle. | true |
|
|
190
|
+
| | | |
|
|
191
|
+
| formButtonFieldInsertImageEnabled | Show “insert image into text” button for button. | true |
|
|
192
|
+
| formButtonFieldVerticalAlignEnabled | Show vertical alignment controls for button. | true |
|
|
193
|
+
| formButtonFieldTextAlignEnabled | Show text alignment controls for button. | true |
|
|
194
|
+
| formButtonFieldBackgroundImageEnabled | Show background image controls for button. | true |
|
|
195
|
+
| formButtonFieldPaddingsEnabled | Show padding controls for button. | true |
|
|
196
|
+
| formButtonFieldReplacerEnabled | Show replacer for button. | true |
|
|
197
|
+
| | | |
|
|
198
|
+
| formCellFieldVerticalAlignEnabled | Show vertical alignment controls for cell. | true |
|
|
199
|
+
| formCellFieldBackgroundImageEnabled | Show background image controls for cell. | true |
|
|
200
|
+
| formCellFieldPaddingsEnabled | Show padding controls for cell. | true |
|
|
201
|
+
| formCellFieldSizeEnabled | Show width and height controls. | true |
|
|
202
|
+
| | | |
|
|
203
|
+
| formImageFieldVerticalAlignEnabled | Show vertical alignment controls for image. | true |
|
|
204
|
+
| formImageFieldReplacerEnabled | Show replacer for image. | true |
|
|
205
|
+
| formImageFieldHeightEnabled | Show height field for image. | true |
|
|
206
|
+
| | | |
|
|
207
|
+
| formTableFieldBackgroundImageEnabled | Show background image controls for table. | true |
|
|
208
|
+
| formDivFieldBackgroundImageEnabled | Show background image controls for container. | true |
|
|
209
|
+
| formEmailFieldBackgroundImageEnabled | Show background image controls for email. | true |
|
|
210
|
+
| | | |
|
|
211
|
+
| formTextFieldTypografEnabled | Show typograph button. | true |
|
|
212
|
+
| formTextFieldReplacerEnabled | Show replacer button. | true |
|
|
213
|
+
| | | |
|
|
214
|
+
| elementImageEnabled | Element Image. | true |
|
|
215
|
+
| elementTextEnabled | Element Text. | true |
|
|
216
|
+
| elementHeaderEnabled | Element Heading. | true |
|
|
217
|
+
| elementButtonEnabled | Element Button. | true |
|
|
218
|
+
| elementListULEnabled | Element List UL. | true |
|
|
219
|
+
| elementListOLEnabled | Element List OL. | true |
|
|
220
|
+
| elementDividerEnabled | Element Divider. | true |
|
|
221
|
+
| elementSpacerEnabled | Element Spacer. | true |
|
|
222
|
+
| elementSocialEnabled | Element Social. | true |
|
|
223
|
+
| elementTableEnabled | Element Table. | true |
|
|
224
|
+
| elementCountdownEnabled | Element Countdown. | true |
|
|
225
|
+
| elementVideoEnabled | Element Video. | true |
|
|
226
|
+
| elementAIimageEnabled | Element AI image. | true |
|
|
227
|
+
| elementAItextEnabled | Element AI text. | true |
|
|
228
|
+
| elementCarouselEnabled | Element AMP carousel. | true |
|
|
229
|
+
| elementAccordionEnabled | Element AMP accordion. | true |
|
|
230
|
+
| elementFormEnabled | Element AMP form. | true |
|
|
231
|
+
| | | |
|
|
232
|
+
| imageCenterStockEnabled | Stock photos tab. | true |
|
|
233
|
+
| imageCenterGifEnabled | Stock GIFs tab. | true |
|
|
234
|
+
| imageCenterEditorEnabled | Image editor tab. | true |
|
|
235
|
+
| compressMaxSize | Max image size after optimization, MB. | true |
|
|
236
|
+
| compressMaxWidthOrHeight | Max image width after optimization, px. | true |
|
|
112
237
|
|
|
113
238
|
### Events
|
|
114
239
|
Events can be sent to configurations or added to them later while working with the instance of the plugin. All event subscribers can be asynchronous features.
|
|
@@ -148,47 +273,50 @@ useblocks.init({
|
|
|
148
273
|
### Events
|
|
149
274
|
| Name | Description |
|
|
150
275
|
| ------------------------- | -------------------------------------------- |
|
|
151
|
-
| handleReadEmail
|
|
152
|
-
| handleSaveEmail
|
|
153
|
-
|
|
|
154
|
-
| handleEmailAutosave
|
|
155
|
-
|
|
|
156
|
-
|
|
|
157
|
-
|
|
|
158
|
-
|
|
|
159
|
-
|
|
|
160
|
-
|
|
|
161
|
-
|
|
|
162
|
-
|
|
|
163
|
-
|
|
|
164
|
-
|
|
|
165
|
-
|
|
|
166
|
-
|
|
|
167
|
-
|
|
|
168
|
-
|
|
|
169
|
-
|
|
|
170
|
-
|
|
|
276
|
+
| handleReadEmail | Read email |
|
|
277
|
+
| handleSaveEmail | Save / update email |
|
|
278
|
+
| handleReadEmailRevisions | Read autosave list |
|
|
279
|
+
| handleEmailAutosave | Autosave |
|
|
280
|
+
| handleReadBlocks | Read project blocks list |
|
|
281
|
+
| handleSaveBlock | Save / update project block |
|
|
282
|
+
| handleRemoveBlock | Delete project block |
|
|
283
|
+
| handleReadComments | Read email comments list |
|
|
284
|
+
| handleSaveComment | Save / update comment |
|
|
285
|
+
| handleRemoveComment | Delete email comment |
|
|
286
|
+
| handleSaveButtonClick | Email save button click |
|
|
287
|
+
| handleNextButtonClick | Next button click |
|
|
288
|
+
| handlePreviousButtonClick | Back button click |
|
|
289
|
+
| handleEmailChanged | Any email parameter changed |
|
|
290
|
+
| handleHtmlChanged | Email HTML changed |
|
|
291
|
+
| handleDestroy | Plugin destroy |
|
|
292
|
+
| handleLoad | Plugin instance initialization completed |
|
|
293
|
+
| handleLoadImage | Load images |
|
|
294
|
+
| handleNotify | Notification |
|
|
295
|
+
| handleError | Error notification |
|
|
296
|
+
| handleSuccess | Success notification |
|
|
297
|
+
| handleTestEmailSend | Test email send |
|
|
298
|
+
| handleTestEmailModal | Open test email modal window |
|
|
171
299
|
|
|
172
300
|
|
|
173
301
|
|
|
174
302
|
### Methods
|
|
175
303
|
| Method name | Description |
|
|
176
304
|
| ------------------------- | -------------------------------------------- |
|
|
177
|
-
| init
|
|
178
|
-
| show
|
|
179
|
-
| destroy
|
|
180
|
-
| reset
|
|
181
|
-
| getEmail
|
|
182
|
-
| getConfig
|
|
183
|
-
| getBlocks
|
|
184
|
-
| getComments
|
|
185
|
-
| getEmailRevisions
|
|
186
|
-
| setConfig
|
|
187
|
-
| updateConfig
|
|
188
|
-
| notify
|
|
189
|
-
| getElement
|
|
190
|
-
| save
|
|
191
|
-
| compileEmail
|
|
305
|
+
| init | Initialization (async) |
|
|
306
|
+
| show | Update content after initialization |
|
|
307
|
+
| destroy | Destroy instance |
|
|
308
|
+
| reset | Reset all configuration |
|
|
309
|
+
| getEmail | Get current email |
|
|
310
|
+
| getConfig | Get configuration |
|
|
311
|
+
| getBlocks | Get project blocks |
|
|
312
|
+
| getComments | Get email comments |
|
|
313
|
+
| getEmailRevisions | Get version control list |
|
|
314
|
+
| setConfig | Set new config parameters |
|
|
315
|
+
| updateConfig | Add to config parameters |
|
|
316
|
+
| notify | Show notifications |
|
|
317
|
+
| getElement | Get initialization element |
|
|
318
|
+
| save | Save email |
|
|
319
|
+
| compileEmail | Get compiled email |
|
|
192
320
|
|
|
193
321
|
|
|
194
322
|
## 📂 File Manager
|
|
@@ -263,6 +391,7 @@ The `fileManager` section controls the features of the file manager. All fields
|
|
|
263
391
|
| `tempPath` | `string` | Path to temporary folder for uploads | - |
|
|
264
392
|
| `useSoftDelete` | `boolean` | Enable client-side soft delete | `false` |
|
|
265
393
|
| `ensureFolderTrailingSlash` | boolean | Add a trailing slash to folder paths | `true` |
|
|
394
|
+
| `validateDuplicates` | `boolean` | Client-side check for existing files or folders | - |
|
|
266
395
|
|
|
267
396
|
#### Methods
|
|
268
397
|
|