Identify inline <style>
that's being enqueued to block editor
#53756
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Enqueing stylesheets to block editor using
enqueue_block_assets
action hook produces inline<style>
tags in the editor.In case of an issue, it is hard to debug as I have to investigate each individual
<style>
tag to see if my stylesheet was even loaded/enqueued.What is your proposed solution?
Identify the
<style>
either withid
ordata-stylesheet
(or similar) attribute like so:The text was updated successfully, but these errors were encountered: