-
Notifications
You must be signed in to change notification settings - Fork 384
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
[AMP Stories] Disable Alignment for Image Block #2115
Comments
Unfortunately the Otherwise we could use the Related upstream issue: WordPress/gutenberg#13780 |
Looks like the alignment options are back now because of #2179. But that screenshot doesn't show the current state of the stories editor either way... |
@swissspidy I think that the test environment wasn't updated, it should be now, however, this issue still needs addressing again. |
Hmm there aren't really any good CSS selectors for the top toolbar to know which block is currently selected... |
Maybe one option could be adding an additional class name ourselves either to the toolbar or to a parent element if an image block is selected? |
Yeah I was thinking the same, as this would be needed for #2283 as well. |
@csossi Can you test this again? Thanks! |
I tried changing the alignment options for an image in AMP Stories:
But they had no effect on the image in the frontend. This is entirely expected, since the image is not inline with other blocks, being that it is absolutely positioned. So the alignment options should just be eliminated. This goes for other blocks as well.
The text was updated successfully, but these errors were encountered: