Skip to content

Commit 7ddc950

Browse files
Lunyachekarbrandes
authored andcommitted
fix: Remove extra margin around body element
1 parent fa05fa2 commit 7ddc950

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

src/components/bulk-email-tool/text-editor/TextEditor.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import 'tinymce/plugins/codesample';
1818
import '@edx/tinymce-language-selector';
1919

2020
import contentUiCss from 'tinymce/skins/ui/oxide/content.css';
21-
import contentCss from 'tinymce/skins/content/default/content.css';
21+
import contentCss from 'tinymce/skins/content/default/content.css?raw';
2222

2323
export default function TextEditor(props) {
2424
const {

webpack.dev.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@ const webpack5esmInteropRule = {
2222
},
2323
};
2424

25+
const rawAssetRule = {
26+
resourceQuery: /raw/,
27+
type: 'asset/source',
28+
};
29+
2530
const otherRules = config.module.rules;
2631

27-
config.module.rules = [webpack5esmInteropRule, ...otherRules];
32+
config.module.rules = [rawAssetRule, webpack5esmInteropRule, ...otherRules];
2833

2934
module.exports = config;

webpack.prod.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,13 @@ const webpack5esmInteropRule = {
1414
},
1515
};
1616

17+
const rawAssetRule = {
18+
resourceQuery: /raw/,
19+
type: 'asset/source',
20+
};
21+
1722
const otherRules = config.module.rules;
1823

19-
config.module.rules = [webpack5esmInteropRule, ...otherRules];
24+
config.module.rules = [rawAssetRule, webpack5esmInteropRule, ...otherRules];
2025

2126
module.exports = config;

0 commit comments

Comments
 (0)