Skip to content

Conversation

@geriux
Copy link
Contributor

@geriux geriux commented Sep 16, 2020

Gutenberg PR -> WordPress/gutenberg#25366

Fixes WordPress/gutenberg#25347

When the media editing option was introduced to the Gallery block the Remove button was replaced for this one instead. By doing that the remove option was moved into the media editing options.

This PR removes a check to prevent rendering the media edit button if the image data is not loaded, this way the options Remove (for gallery) and Replace for Image, Media & Text, and Cover are available.

To test check the Gutenberg PR.

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered if this change warrants user-facing release notes more info and have added them to RELEASE-NOTES.txt if necessary.

Copy link

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@peril-wordpress-mobile
Copy link

Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job!

@geriux geriux merged commit afe604f into develop Sep 18, 2020
@geriux geriux deleted the fix/media-editing-button-invalid-images branch September 18, 2020 08:12
@cameronvoell cameronvoell mentioned this pull request Sep 29, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When there's an invalid pic in the gallery there's no way to remove it

3 participants