Option to disable inline style for Group block #35811
Labels
[Block] Group
Affects the Group Block (and row, stack and grid variants)
[Type] Enhancement
A suggestion for improvement.
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: