-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
CSS StylingRelated to editor and front end styles, CSS-specific issues.Related to editor and front end styles, CSS-specific issues.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
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 with id
or data-stylesheet
(or similar) attribute like so:
saas786, andreiglingeanu, t-hamano and cbirdsong
Metadata
Metadata
Assignees
Labels
CSS StylingRelated to editor and front end styles, CSS-specific issues.Related to editor and front end styles, CSS-specific issues.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.