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

FSE: Featured image block does not behave like an image block in the editor. #22081

Closed
carolinan opened this issue May 4, 2020 · 1 comment
Closed
Labels
[Block] Post Featured Image Affects the Post Featured Image Block

Comments

@carolinan
Copy link
Contributor

carolinan commented May 4, 2020

Describe the bug
With FSE enabled, you can add the featured image block to a post.

As seen in the screenshot below:
The size of the image is larger than expected. The actual size of the image that is added as
a featured image is 253x253px. In the editor it is showing at the max width for blocks which is 580px.
The image overlaps content that is above it
The image goes outside its "container"
Content below the image is displayed on top of the image.

To reproduce
Steps to reproduce the behavior:

  1. Enable full site editing
  2. Create a new post
  3. Add a featured image
  4. Add a featured image block in the editor
  5. See the size of the image.

Expected behavior
I expect the image to be of the correct size, and I expect it to have the same
controls as other images, and to not overlap any other content.

Screenshots
featured-image

featured-image2

On the front it display as expected with its original size.

Editor version (please complete the following information):

WordPress version: 5.4.1
Gutenberg 8.0.0

Desktop (please complete the following information):

Windows 10
Chrome version: 81.0.4044.129
Firefox version 75.0

@ntsekouras
Copy link
Contributor

Hey @carolinan - thanks for reporting this! This is fixed here: #25412.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Featured Image Affects the Post Featured Image Block
Projects
None yet
Development

No branches or pull requests

2 participants