Stylesheets added via add_editor_style don't support @import #26963
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
[Type] Discussion
For issues that are high-level and not yet ready to implement.
Currently, stylesheets added via
add_editor_style()
do not support@import
. Instead, additional stylesheets must be added in an array:This conceptually makes sense, but it would be interesting if WordPress could somehow also enqueue
@import
ed stylesheets automatically.(This could be a core/trac issue, but I'm adding it here since it came up during a discussion about FSE and Global Styles)
The text was updated successfully, but these errors were encountered: