-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Try: Fix gallery item clicking. #29860
Conversation
Size Change: +12 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
Editing options are now usable 👍 But how to cancel the editing mode? the first impression was clicking again on the pencil icon might toggle the edit mode |
Thanks for testing!
I think that's a separate issue, and it might not be worth fixing since the gallery is being refactored to use innerblocks soon. |
Hey Joen I just tested the PR. Upload, Media Library and Insert from URL now works. Pattern-Gallery-edit-image-buttons-fixed.mp4I have also tested with switching out the images. Adding additional images. The buttons work as they should. |
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.
This makes sense to me, that "before" style is just used to show the outline so it's not something that should be clickable anyway.
Description
Fixes #29835.
I have not had time to test this thoroughly, so I'd appreciate sanity checks and tests of edgecases this might introduce.
Checklist: