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

ISBAT drag-and-drop images to reorder gallery blocks #767

Closed
AnthonyLedesma opened this issue Aug 22, 2019 · 5 comments
Closed

ISBAT drag-and-drop images to reorder gallery blocks #767

AnthonyLedesma opened this issue Aug 22, 2019 · 5 comments

Comments

@AnthonyLedesma
Copy link
Member

AnthonyLedesma commented Aug 22, 2019

Is this enhancement related to a problem? Please describe.
When adding new images to a gallery, the images are added to the end of the gallery. If I wanted to move the image to the front of the list it would require me having to move the the images one at a time to make room at the front of the list of images.

Describe the solution you'd like
I would like to be able to drag-and-drop images to reorder Gallery Blocks. This should apply to Masonry Block and possibly also apply to Carousel and Stacked Blocks.

Describe alternatives you've considered
The alternative to drag-and-drop is the process of manually moving image places one at at time as described above. One could also re-create the gallery but that is likely to be time consuming if captions have been set.

Screenshot of issue
galleryReorderItems

Note
This issue is being worked in Gutenberg. We may want to see how the development team resolves it.
WordPress/gutenberg#743

Request originally submitted on WordPress.org.
https://wordpress.org/support/topic/two-feature-requests-5/

@richtabor
Copy link
Contributor

I think this may only be useful in the Stacked/Masonry blocks, as the Carousel doesn't show all the images at the same time. 🤔

@jrtashjian
Copy link
Member

We may not be able to drag and drop on the Carousel gallery but we could probably use those arrows to move images around. I think the Media Library modal might be an easier way to order images for that block though. Not saying we have to add it but we might want to try.

@richtabor
Copy link
Contributor

Not saying we have to add it but we might want to try.

I did try it, but the experience of clicking a left/right arrow to move the image, then having that image move out of view, made it kinda rough. If you wanted to move an image a couple of slides over, you'd need to hit the arrow, then change the slide, then hit the arrow.

@richtabor
Copy link
Contributor

I say we close this until it's relevant in core.

@jrtashjian
Copy link
Member

Works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants