@seliseblocks/mailcraft 0.2.2 → 0.2.4
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 +2 -2
- package/dist/mailcraft-editor.bundle.js +36 -36
- package/dist/mailcraft-editor.bundle.js.map +3 -3
- package/package.json +1 -1
- package/src/core/editor-core.js +6 -1
- package/src/core/export.js +2 -1
- package/src/core/import-html.js +9 -0
- package/src/core/theme.js +1 -1
- package/src/render/canvas.js +4 -0
- package/src/render/fields.js +6 -1
package/DOCS.md
CHANGED
|
@@ -760,7 +760,7 @@ The complete catalog of UI strings that `.messages` accepts — every key the ed
|
|
|
760
760
|
|
|
761
761
|
# How it works inside
|
|
762
762
|
|
|
763
|
-
Useful when debugging an integration,
|
|
763
|
+
Useful when debugging an integration, or before changing the source.
|
|
764
764
|
|
|
765
765
|
**Core / render split.** `src/core/` holds state and logic and never touches the DOM; `src/render/` builds all of it. The canvas is torn down and rebuilt on every state change — no diffing — and focus and caret survive through `data-focus-key` and `render/focus-preserve.js`.
|
|
766
766
|
|
|
@@ -780,7 +780,7 @@ node build.js # rebuild dist/ after any change under src/
|
|
|
780
780
|
npm test # 13 suites — core logic runs DOM-free, the editor/importer suites run on jsdom
|
|
781
781
|
```
|
|
782
782
|
|
|
783
|
-
Deeper notes for
|
|
783
|
+
Deeper notes for coding agents and anyone changing the source live in `AGENTS.md` in the repository.
|
|
784
784
|
|
|
785
785
|
---
|
|
786
786
|
|