fix: Remove extra margin around body element
This commit is contained in:
committed by
Adolfo R. Brandes
parent
fa05fa25ab
commit
7ddc95003e
@@ -18,7 +18,7 @@ import 'tinymce/plugins/codesample';
|
|||||||
import '@edx/tinymce-language-selector';
|
import '@edx/tinymce-language-selector';
|
||||||
|
|
||||||
import contentUiCss from 'tinymce/skins/ui/oxide/content.css';
|
import contentUiCss from 'tinymce/skins/ui/oxide/content.css';
|
||||||
import contentCss from 'tinymce/skins/content/default/content.css';
|
import contentCss from 'tinymce/skins/content/default/content.css?raw';
|
||||||
|
|
||||||
export default function TextEditor(props) {
|
export default function TextEditor(props) {
|
||||||
const {
|
const {
|
||||||
|
|||||||
@@ -22,8 +22,13 @@ const webpack5esmInteropRule = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const rawAssetRule = {
|
||||||
|
resourceQuery: /raw/,
|
||||||
|
type: 'asset/source',
|
||||||
|
};
|
||||||
|
|
||||||
const otherRules = config.module.rules;
|
const otherRules = config.module.rules;
|
||||||
|
|
||||||
config.module.rules = [webpack5esmInteropRule, ...otherRules];
|
config.module.rules = [rawAssetRule, webpack5esmInteropRule, ...otherRules];
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|||||||
@@ -14,8 +14,13 @@ const webpack5esmInteropRule = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const rawAssetRule = {
|
||||||
|
resourceQuery: /raw/,
|
||||||
|
type: 'asset/source',
|
||||||
|
};
|
||||||
|
|
||||||
const otherRules = config.module.rules;
|
const otherRules = config.module.rules;
|
||||||
|
|
||||||
config.module.rules = [webpack5esmInteropRule, ...otherRules];
|
config.module.rules = [rawAssetRule, webpack5esmInteropRule, ...otherRules];
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|||||||
Reference in New Issue
Block a user