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
When using the "Inherit default layout" option for a group block (currently the only way to allow inner blocks to have wide/full alignment options), extra styles are appended to the DOM right after the group. Some themes do not need these extra styles (think CSS grid) and the <style> element in the DOM messes with some styles (.wp-block-group + .whatever).
What is your proposed solution?
Allow these styles to be "dequeued" or not output. I don't want to allow any custom content/wide widths for groups anyways (or if we did it would certainly come from a limited set and not just "free form" input that accepts any number).
The text was updated successfully, but these errors were encountered:
This is still an issue in 5.9. I see the <style> has been moved down to bottom of <body>, but I still don't see a way to disable the style completely. I am using CSS grid and the CSS that is generated completely ruins the layout.
What problem does this address?
When using the "Inherit default layout" option for a group block (currently the only way to allow inner blocks to have wide/full alignment options), extra styles are appended to the DOM right after the group. Some themes do not need these extra styles (think CSS grid) and the
<style>
element in the DOM messes with some styles (.wp-block-group + .whatever
).What is your proposed solution?
Allow these styles to be "dequeued" or not output. I don't want to allow any custom content/wide widths for groups anyways (or if we did it would certainly come from a limited set and not just "free form" input that accepts any number).
The text was updated successfully, but these errors were encountered: