strapi-plugin-magic-mail 1.0.3 → 1.0.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/admin/src/pages/EmailDesigner/EditorPage.jsx +5 -6
- package/dist/_chunks/{App-BROmljEd.mjs → App-DqArrXrm.mjs} +5 -6
- package/dist/_chunks/{App-DgnyvH-r.js → App-kROs3WSy.js} +5 -6
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -108,12 +108,11 @@ const STANDARD_EMAIL_TEMPLATE = {
|
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
// Dynamic import for Email Editor (500KB)
|
|
111
|
-
const EmailEditor = lazy(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
});
|
|
111
|
+
const EmailEditor = lazy(() =>
|
|
112
|
+
import('react-email-editor').then((module) => ({
|
|
113
|
+
default: module.default || module.EmailEditor || module,
|
|
114
|
+
}))
|
|
115
|
+
);
|
|
117
116
|
|
|
118
117
|
// Styled components
|
|
119
118
|
const Container = styled.div`
|
|
@@ -5395,12 +5395,11 @@ const STANDARD_EMAIL_TEMPLATE = {
|
|
|
5395
5395
|
},
|
|
5396
5396
|
schemaVersion: 6
|
|
5397
5397
|
};
|
|
5398
|
-
const EmailEditor = lazy(
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
});
|
|
5398
|
+
const EmailEditor = lazy(
|
|
5399
|
+
() => import("react-email-editor").then((module) => ({
|
|
5400
|
+
default: module.default || module.EmailEditor || module
|
|
5401
|
+
}))
|
|
5402
|
+
);
|
|
5404
5403
|
const Container$1 = styled.div`
|
|
5405
5404
|
min-height: 100vh;
|
|
5406
5405
|
display: flex;
|
|
@@ -5422,12 +5422,11 @@ const STANDARD_EMAIL_TEMPLATE = {
|
|
|
5422
5422
|
},
|
|
5423
5423
|
schemaVersion: 6
|
|
5424
5424
|
};
|
|
5425
|
-
const EmailEditor = React.lazy(
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
});
|
|
5425
|
+
const EmailEditor = React.lazy(
|
|
5426
|
+
() => import("react-email-editor").then((module2) => ({
|
|
5427
|
+
default: module2.default || module2.EmailEditor || module2
|
|
5428
|
+
}))
|
|
5429
|
+
);
|
|
5431
5430
|
const Container$1 = styled__default.default.div`
|
|
5432
5431
|
min-height: 100vh;
|
|
5433
5432
|
display: flex;
|
package/dist/admin/index.js
CHANGED
|
@@ -25,7 +25,7 @@ const index = {
|
|
|
25
25
|
id: `${pluginId}.plugin.name`,
|
|
26
26
|
defaultMessage: "MagicMail"
|
|
27
27
|
},
|
|
28
|
-
Component: () => Promise.resolve().then(() => require("../_chunks/App-
|
|
28
|
+
Component: () => Promise.resolve().then(() => require("../_chunks/App-kROs3WSy.js"))
|
|
29
29
|
});
|
|
30
30
|
app.createSettingSection(
|
|
31
31
|
{
|
package/dist/admin/index.mjs
CHANGED
package/dist/server/index.js
CHANGED
package/dist/server/index.mjs
CHANGED
package/package.json
CHANGED