New CSS properties in editor.min.css are overwriting font sizes from theme.json
-
I just discovered a weird issue in WP 6.4.
There is CSS for editor styles (editor.min.css): –wp–preset–font-size–normal: 16px; –wp–preset–font-size–huge: 42px; These properties are overwriting my font sizes from theme.json with slugs “normal” and “huge.”
These properties weren’t there in WordPress 6.3!
Because of that, in the Editor blocks with these properties are displaying with incorrect font sizes taken from these properties.
For example, my font size style with the slug “normal” is 24px. However, because of these properties in editor.min.css the block with “normal” font-size becomes 16px. The same issue occurs with the “huge” font-size… However, in the frontend, everything is okay.
Because of this, I can’t update my Papanek theme to version 6.4, as everything breaks in the Site Editor. It is also already broken on every website with Papanek that has the latest WordPress.
Why are these properties there? Maybe it’s a mistake?
The page I need help with: [log in to see the link]
- The topic ‘New CSS properties in editor.min.css are overwriting font sizes from theme.json’ is closed to new replies.