Skip to content

Conversation

jorgefilipecosta
Copy link
Member

Fix: #18684

Description

The image block was resetting the "Crop image to fill entire column" setting when an image was changed.

How has this been tested?

I added a media and text block.
I enabled "Crop image to fill entire column".
I changed the image.
I verified "Crop image to fill entire column" option was still enabled.

@jorgefilipecosta jorgefilipecosta added [Type] Bug An existing feature does not function as intended [Block] Media & Text Affects the Media & Text Block labels Nov 25, 2019
@jorgefilipecosta jorgefilipecosta merged commit 58eb81c into master Nov 27, 2019
@jorgefilipecosta jorgefilipecosta deleted the fix/media-text-Block-Crop-image-to-fill-entire-column-setting-is-reset-when-changing-image branch November 27, 2019 12:46
@youknowriad youknowriad added this to the Gutenberg 7.1 milestone Dec 9, 2019
@dianeco
Copy link

dianeco commented Jan 20, 2020

@jorgefilipecosta The fix was working great but it was reverted by #18139

@jorgefilipecosta
Copy link
Member Author

Hi @dianeco, thank you for noticing this issue 👍 I think the PR was reverted unintentionally during a merge I'm addressing the issue in #19765.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Media & Text Affects the Media & Text Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Media & Text Block: "Crop image to fill entire column" setting is reset when changing image
3 participants