Remove parts of Gutenberg CSS that is loaded by load-styles.php
-
Hi, we are creating a custom block builder, so we used the
wp-reset-editor-styles
to reset the default styles in the back-end and load our own.
However, some code is still loaded inline bywp-admin/load-styles.php
. Some of this CSS is required, for example dash icons are good to have in the editor (to use icons for our custom blocks). But others are not, to give a very specific example this is one of the styles that bothers us (this code overwrites all heights we specify with Tailwind.):.block-editor__container img {
height: auto;
}We have been searching for an answer for quite a long time, but can’t seem to find a solution for this. Can somebody help us fix this?
- The topic ‘Remove parts of Gutenberg CSS that is loaded by load-styles.php’ is closed to new replies.