fix: Remove extra margin around body element

This commit is contained in:
Stanislav Lunyachek
2025-09-30 01:10:28 +03:00
committed by Adolfo R. Brandes
parent fa05fa25ab
commit 7ddc95003e
3 changed files with 13 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ import 'tinymce/plugins/codesample';
import '@edx/tinymce-language-selector';
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) {
const {

View File

@@ -22,8 +22,13 @@ const webpack5esmInteropRule = {
},
};
const rawAssetRule = {
resourceQuery: /raw/,
type: 'asset/source',
};
const otherRules = config.module.rules;
config.module.rules = [webpack5esmInteropRule, ...otherRules];
config.module.rules = [rawAssetRule, webpack5esmInteropRule, ...otherRules];
module.exports = config;

View File

@@ -14,8 +14,13 @@ const webpack5esmInteropRule = {
},
};
const rawAssetRule = {
resourceQuery: /raw/,
type: 'asset/source',
};
const otherRules = config.module.rules;
config.module.rules = [webpack5esmInteropRule, ...otherRules];
config.module.rules = [rawAssetRule, webpack5esmInteropRule, ...otherRules];
module.exports = config;