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
I have many patterns where a Group, Columns, or Media & Text block is the "top level" block in the pattern and has alignwide or alignfull classes applied.
However, I have realized that these classes are not included in the pattern preview markup, often breaking styles.
For instance, I'm working on a site where the Group block has a border-radius by default but removes it from full width Group blocks with the selector .wp-block-group.alignfull. This works great, but the preview shows the containing Group block with the border radius applied because the alignfull is not applied.
I'm sure there is a reason for doing this, but it's definitely causing problems for me and I don't see any current potential workarounds for now.
Step-by-step reproduction instructions
Make a block pattern where the first block has an alignment class applied. Could just be this: