-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Left and right alignments missing in the block editor when running FSE themes #30568
Comments
confirmed with gutenberg 10.4.1 |
This definitely seems like a bug to me. @jasmussen / @youknowriad, can you confirm though? I don't know why left/right/center alignments would need to disappear regardless of the layout settings. |
The reason we removed these alignments from containers with a layout defined is because "float left" and "float right" here will behave differently than what folks are used to: the blocks will be aligned completely at the left or right of the container and not at the left of the "content size" area. If that's something folks are ok with, we can bring these back, it's a small change. |
I think we might as well include it — some themes handle floats like that anyway, and I found it confusing to see these options missing. |
I don't have a strong opinion, but wanted to note that if we are able to bring some CSS grid to the block editor at some time in the future, floats will have to be wrapped in containers such as group in order to work. So it's something to revisit in case the |
Description
When running TT1 Blocks or the Empty Theme, the left and right alignments are not available for images, galleries, covers, etc.
Step-by-step reproduction instructions
Expected behaviour
Left and right alignments should be there.
Actual behaviour
They aren't :)
Screenshots or screen recording (optional)
WordPress information
Device information
The text was updated successfully, but these errors were encountered: