-
Hey, thanks for a cool boilerplate! I'm using CKEditor (which brings some 3rd party css) and I have some css conflicts in module rules in webpack config. When I have When I turn off Here's the webpack config (
Any ideas? As a last resort i would just like to disable the MiniCssExtractPlugin and have the styles work if there is no other good idea Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@pnikolov perhaps you have an idea? 🙏 To put the question differently, how to make it work with the boilerplate? https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/quick-start-other.html#building-the-editor-from-source |
Beta Was this translation helpful? Give feedback.
-
@archasek I have reproduced the reported behaviour and it is not due to the You "loose" your CKEditor styling because this boilerplate ships with So in short, you can comment/remove this line in the /* CSS Reset */
@import 'base/reset'; Removing the above will not include the Here is a screenshot of the enabled default styling after commenting the Anyhow doing this you will need to be cautious about the default browser styling. .ck-editor .ck-content {
strong { font-weight: bold; }
i { font-style: italic; }
...
} |
Beta Was this translation helpful? Give feedback.
-
Thank you very much sir! 🎸 |
Beta Was this translation helpful? Give feedback.
@archasek I have reproduced the reported behaviour and it is not due to the
MiniCssExtractPlugin
loader plugin.You "loose" your CKEditor styling because this boilerplate ships with
CSS Reset
styles - they reset all default browser styling to help you write styles that will be consisted in all browsers as each browser applies some default styling which is different for each browser.So in short, you can comment/remove this line in the
app.scss
on line 6:Removing the above will not include the
src/scss/base/_reset.scss
file that resets all default styling (strong, italics, headings, etc.)Here is a screenshot of the enabled default styling after comme…