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

Image Block: Replacing a resized image from URL doesn't reset dimensions #26333

Closed
ellatrix opened this issue Oct 20, 2020 · 1 comment · Fixed by #26879
Closed

Image Block: Replacing a resized image from URL doesn't reset dimensions #26333

ellatrix opened this issue Oct 20, 2020 · 1 comment · Fixed by #26879
Labels
[Block] Image Affects the Image Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@ellatrix
Copy link
Member

To reproduce
Steps to reproduce the behavior:

  1. Create image block with external image
  2. Resize the image
  3. Replace with uploaded image
  4. Observe old image dimensions are still applied

Editor version (please complete the following information):

  • WordPress version: 5.5.1.
  • Does the website has Gutenberg plugin installed, or is it using the block editor that comes by default? Gutenberg plugin
  • If the Gutenberg plugin is installed, which version is it? Master

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

@ellatrix ellatrix added [Type] Bug An existing feature does not function as intended [Block] Image Affects the Image Block labels Oct 20, 2020
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Nov 11, 2020
@daddou-ma
Copy link
Contributor

I made a PR which fixes this issue. #26879

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Image Affects the Image Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants