Skip to content
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

Embed Images: Center button doesn't align to center #15130

Open
supernovia opened this issue Apr 23, 2019 · 3 comments
Open

Embed Images: Center button doesn't align to center #15130

supernovia opened this issue Apr 23, 2019 · 3 comments
Labels
[Block] Embed Affects the Embed Block [Type] Bug An existing feature does not function as intended

Comments

@supernovia
Copy link

Describe the bug
The left, right, wide, and full alignment buttons work for image embeds, but center align does not center.

To reproduce
Steps to reproduce the behavior:

  1. Embed an image from an embeddable source
  2. Click on each alignment button
  3. Notice center stays left aligned

Expected behavior
I expect the item to be centered.

Screenshots
In the editor:
Screen Shot 2019-04-23 at 12 40 17 PM

On the post:
Screen Shot 2019-04-23 at 12 40 49 PM

Desktop (please complete the following information):

  • OS: MacOS 10.14
  • Browser: Chrome
  • Version 73

Additional context

@swissspidy swissspidy added the [Block] Embed Affects the Embed Block label Apr 24, 2019
@adampatterson
Copy link

adampatterson commented May 6, 2019

I am working through some CSS adjustments to my theme and ran across some of the center alignment issues.

I was looking for other formats to test and found your issue.

I copy the URL and actually get an error, Is there another way to embed the IMGUR images?

https://imgur.com/gallery/qCQyle2

I tried to paste the URL in a block, as well as using the IMGUR block specifically.

@Metatronovich
Copy link

Was there ever a solution to this? Thanks.

@annezazu
Copy link
Contributor

As of Gutenberg 10.6.1, this is still an issue and there is no option to add alignment.

@jordesign jordesign added the [Type] Bug An existing feature does not function as intended label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Embed Affects the Embed Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

6 participants