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
Describe the bug alignfull and alignwide alignment options are not reflected by the block classes in editor.
These classes are only applied to their element counterparts in frontend.
Edit: Even worse, manually added classes alignfull and alignwide are automatically removed when saving.
To reproduce
Steps to reproduce the behavior:
Add align-wide theme support.
Add group element in Gutenberg editor.
Select full or wide alignment option for that group element.
Inspect the group element in editor and notice that it gets no class for alignfull or alignwide assigned to it, on frontend however the class is assigned to the element for that block.
The element is still somehow styled by the editor (inline) to become somehow wide or full aligned, but the theme can't optimize or change this process using the appropriate classes for CSS.
Expected behavior alignfull and alignwide classes are correctly applied to block elements in editor as they are already in frontend, too. Edit: And that these classes alignfull and alignwide aren't removed automatically during editor save.
The text was updated successfully, but these errors were encountered:
For clarifying: Some themes may have a different interpretation of "wide" alignment.
In my case for some group block styles the outmost group element extends to 100% width, no max-width constraints and provide a background, while the inner content got a max-width.
Describe the bug
alignfull
andalignwide
alignment options are not reflected by the block classes in editor.These classes are only applied to their element counterparts in frontend.
Edit: Even worse, manually added classes
alignfull
andalignwide
are automatically removed when saving.To reproduce
Steps to reproduce the behavior:
align-wide
theme support.full
orwide
alignment option for that group element.alignfull
oralignwide
assigned to it, on frontend however the class is assigned to the element for that block.The element is still somehow styled by the editor (inline) to become somehow wide or full aligned, but the theme can't optimize or change this process using the appropriate classes for CSS.
Expected behavior
alignfull
andalignwide
classes are correctly applied to block elements in editor as they are already in frontend, too. Edit: And that these classesalignfull
andalignwide
aren't removed automatically during editor save.The text was updated successfully, but these errors were encountered: