@seliseblocks/mailcraft 0.2.5 → 0.2.7
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/DOCS.md +4 -3
- package/README.md +4 -1
- package/README.md.txt +4 -1
- package/dist/mailcraft-editor.bundle.js +57 -54
- package/dist/mailcraft-editor.bundle.js.map +3 -3
- package/examples/vanilla.html +19 -18
- package/package.json +1 -1
- package/src/core/brand.js +81 -0
- package/src/core/editor-core.js +41 -8
- package/src/core/export.js +8 -1
- package/src/core/i18n/ar.js +2 -2
- package/src/core/i18n/bg.js +2 -2
- package/src/core/i18n/bn.js +2 -2
- package/src/core/i18n/ca.js +2 -2
- package/src/core/i18n/cs.js +2 -2
- package/src/core/i18n/da.js +2 -2
- package/src/core/i18n/de-CH.js +2 -2
- package/src/core/i18n/de.js +2 -2
- package/src/core/i18n/dz.js +2 -2
- package/src/core/i18n/el.js +2 -2
- package/src/core/i18n/en.js +2 -2
- package/src/core/i18n/es.js +2 -2
- package/src/core/i18n/et.js +2 -2
- package/src/core/i18n/fi.js +2 -2
- package/src/core/i18n/fr.js +2 -2
- package/src/core/i18n/hr.js +2 -2
- package/src/core/i18n/hu.js +2 -2
- package/src/core/i18n/it.js +2 -2
- package/src/core/i18n/lt.js +2 -2
- package/src/core/i18n/lv.js +2 -2
- package/src/core/i18n/nb.js +2 -2
- package/src/core/i18n/nl.js +2 -2
- package/src/core/i18n/pl.js +2 -2
- package/src/core/i18n/pt.js +2 -2
- package/src/core/i18n/ro.js +2 -2
- package/src/core/i18n/ru.js +2 -2
- package/src/core/i18n/sk.js +2 -2
- package/src/core/i18n/sl.js +2 -2
- package/src/core/i18n/sv.js +2 -2
- package/src/core/i18n/tr.js +2 -2
- package/src/core/i18n/uk.js +2 -2
- package/src/core/icons.js +1 -0
- package/src/core/import-html.js +63 -9
- package/src/core/sanitize.js +34 -0
- package/src/core/theme.js +1 -1
- package/src/mailcraft-editor.js +20 -10
- package/src/render/block-body.js +12 -6
- package/src/render/canvas.js +7 -1
- package/src/render/fields.js +9 -1
- package/src/render/screenshot.js +13 -2
- package/src/render/style.js +14 -11
package/DOCS.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# MailCraft — product & integration guide
|
|
1
|
+
# Blocks MailCraft — product & integration guide
|
|
2
2
|
|
|
3
3
|
[README.md](README.md) is the five-minute version. This is the rest: what it is, why it works the way it does, and how to wire it into a real application.
|
|
4
4
|
|
|
@@ -625,7 +625,7 @@ The complete catalog of UI strings that `.messages` accepts — every key the ed
|
|
|
625
625
|
| `export.meta` | {kb} KB · ready to copy or download |
|
|
626
626
|
| `files.dragToCanvas` | Drag any file straight onto the canvas to place it as an image block. |
|
|
627
627
|
| `files.libraryCount` | Library — {count} files |
|
|
628
|
-
| `files.openManager` | Open
|
|
628
|
+
| `files.openManager` | Open media library |
|
|
629
629
|
| `footer.poweredBy` | Powered by SELISE Blocks © 2026 |
|
|
630
630
|
| `inspector.blockProperties` | Block properties |
|
|
631
631
|
| `inspector.emptyBody` | Pick a row or block on the canvas to style it here. Drag blocks in from the <strong style="color: var(--ed-text); font-weight: 600;">Content blocks</strong> tab; double-click any text to edit it in place. |
|
|
@@ -655,7 +655,7 @@ The complete catalog of UI strings that `.messages` accepts — every key the ed
|
|
|
655
655
|
| `modal.assetsTitle` | Assets |
|
|
656
656
|
| `modal.export` | Export |
|
|
657
657
|
| `modal.exportTitle` | Your email is ready |
|
|
658
|
-
| `modal.fileManager` |
|
|
658
|
+
| `modal.fileManager` | Media library |
|
|
659
659
|
| `modal.rawHtmlTitle` | Raw HTML, live preview |
|
|
660
660
|
| `modal.replaceImage` | Replace image |
|
|
661
661
|
| `preview.kickerDesktop` | Preview — desktop {width}px |
|
|
@@ -754,6 +754,7 @@ The complete catalog of UI strings that `.messages` accepts — every key the ed
|
|
|
754
754
|
| `vars.noneDeclared` | Your application has not declared any variables yet. |
|
|
755
755
|
| `vars.rteHint` | While editing text you can also pick a variable straight from the inline toolbar’s dropdown. |
|
|
756
756
|
| `vars.title` | Variables |
|
|
757
|
+
|
|
757
758
|
<!-- message-keys:end -->
|
|
758
759
|
|
|
759
760
|
---
|
package/README.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
<picture>
|
|
2
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/brand/blocks-mailcraft-dark.svg">
|
|
3
|
+
<img src="assets/brand/blocks-mailcraft-light.svg" alt="Blocks MailCraft" height="72">
|
|
4
|
+
</picture>
|
|
2
5
|
|
|
3
6
|
Drag-and-drop email editor as a Web Component. No dependencies, no framework, no build step.
|
|
4
7
|
|
package/README.md.txt
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
<picture>
|
|
2
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/brand/blocks-mailcraft-dark.svg">
|
|
3
|
+
<img src="assets/brand/blocks-mailcraft-light.svg" alt="Blocks MailCraft" height="72">
|
|
4
|
+
</picture>
|
|
2
5
|
|
|
3
6
|
Drag-and-drop email editor as a Web Component. No dependencies, no framework, no build step.
|
|
4
7
|
|