mjmlhelper 2.0.8 → 2.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.
Files changed (2) hide show
  1. package/mjmlhelper.js +2 -0
  2. package/package.json +1 -1
package/mjmlhelper.js CHANGED
@@ -82,6 +82,8 @@ class mjmlhelper {
82
82
  data.substring(pos);
83
83
  // hide modal overlay
84
84
  data = data.substring(0, pos) + ' body.cred_modal:before { display: none !important; } ' + data.substring(pos);
85
+ // fix font size 0 problem (https://github.com/vielhuber/mjmlhelper/issues/1)
86
+ data = data.substring(0, pos) + ' .mce-content-body { font-size: 13px; } ' + data.substring(pos);
85
87
 
86
88
  // placeholders
87
89
  data = this.replaceAll(data, '%UNSUBSCRIBE%', '{UNSUBSCRIBE}');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mjmlhelper",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "",
5
5
  "main": "mjmlhelper.js",
6
6
  "dependencies": {