-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Gutenberg - Fix Gallery block uploads when the editor is closed #15457
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here are some suggested test cases for this PR.
If you think that suggestions should be improved please edit the configuration file here. You can also modify/add test-suites to be used in the configuration.
If you are a beginner in mobile platforms follow build instructions.
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @geriux 👍
I confirm that the fix works as expected (tested on iPhone 11 / iOS 14 simulator).
The code also looks good :)
I added an issue WordPress/gutenberg#27618 for this PR to fix and update the PR description to reflect this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran the sanity tests on this branch with the Gutenberg release and everything worked great. Thanks for taking care of this @geriux 🎉
Fixes an issue found while sanity testing the
1.43.0
Gutenberg mobile release.Fixes WordPress/gutenberg#27618
Due to this Gutenberg change that updated the values for the
linkTo
attribute, the Gallery processor stopped working correctly. This PR updates the values to the new ones:media
→file
attachment
→post
It also takes into account the default value
none
to process the images without links.To test:
Test the different Gallery link to options:
None
,Media File
, andAttachment Page
PR submission checklist:
RELEASE-NOTES.txt
if necessary.