mjmlhelper 2.1.2 → 2.1.5
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/boilerplate/_inc/responsive.mjml +9 -0
- package/mjmlhelper.js +5 -0
- package/package.json +10 -10
|
@@ -57,5 +57,14 @@
|
|
|
57
57
|
text-align: center !important;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
+
/* more aggressive (disabled) */
|
|
61
|
+
/*
|
|
62
|
+
@media only screen and (max-width: 500px) {
|
|
63
|
+
*[style*='text-align:left'],
|
|
64
|
+
*[style*='text-align: left'] {
|
|
65
|
+
text-align: center !important;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
*/
|
|
60
69
|
</style>
|
|
61
70
|
</mj-raw>
|
package/mjmlhelper.js
CHANGED
|
@@ -75,6 +75,11 @@ class mjmlhelper {
|
|
|
75
75
|
data.substring(0, pos) +
|
|
76
76
|
' body[spellcheck="false"] > div:first-child, body[spellcheck="false"] > div:first-child + div { max-width:600px;margin:0 auto; } ' +
|
|
77
77
|
data.substring(pos);
|
|
78
|
+
// move inline wysiwyg overlay to bottom
|
|
79
|
+
data =
|
|
80
|
+
data.substring(0, pos) +
|
|
81
|
+
' .tox-editor-header[style*="top: 0px"] { top:auto !important; bottom:0 !important; } ' +
|
|
82
|
+
data.substring(pos);
|
|
78
83
|
// hide tinymce overlay that always goes in the way
|
|
79
84
|
data =
|
|
80
85
|
data.substring(0, pos) +
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mjmlhelper",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "mjmlhelper.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@prettier/plugin-php": "^0.
|
|
8
|
-
"archiver": "^
|
|
9
|
-
"cli-error-notifier": "^
|
|
10
|
-
"fs-extra": "^
|
|
7
|
+
"@prettier/plugin-php": "^0.20.1",
|
|
8
|
+
"archiver": "^6.0.1",
|
|
9
|
+
"cli-error-notifier": "^3.0.2",
|
|
10
|
+
"fs-extra": "^11.1.1",
|
|
11
11
|
"ftp": "^0.3.10",
|
|
12
|
-
"jsdom": "^
|
|
13
|
-
"mjml": "^4.
|
|
14
|
-
"nodemailer": "^6.5
|
|
15
|
-
"npm": "^
|
|
12
|
+
"jsdom": "^22.1.0",
|
|
13
|
+
"mjml": "^4.14.1",
|
|
14
|
+
"nodemailer": "^6.9.5",
|
|
15
|
+
"npm": "^10.0.0",
|
|
16
16
|
"onchange": "^7.1.0",
|
|
17
|
-
"prettier": "^
|
|
17
|
+
"prettier": "^3.0.3"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {},
|
|
20
20
|
"scripts": {
|