You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The default editor styles are loaded after the core blocks' editor styles #24011
Because of the editor style wrapping that currently happens, style rules like ul become .editor-styles-wrapper ul, which has a specificity of 0-1-1, and so even a style rule in a core block's editor.scss like ul.has-background (which has the same specificity) will be overridden, because the default editor styles are applied after.
I discovered this issue while working on #21387, where I ran into the exact scenario described in the previous paragraph.
Expected behavior
The editor styles provided by the core blocks would be applied after the default editor styles, not before.
Activity
skorasaurus commentedon Feb 8, 2021
Is this a duplicate of #21785 ?
ZebulanStanphill commentedon Feb 9, 2021
@skorasaurus Yeah, it's a duplicate of #21785. I must have forgotten I made the earlier issue. Thanks for pointing it out.