-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Gallery Block: reordering images, including support for Drag&Drop #743
Comments
Just played with Gutenberg and realized it would be one killer new addition. |
I can drag and drop images in a gutenberg gallery, but they don't always appear in the order I dragged them to. This seems buggy to me. Does anyone else have that experience? |
I'll start working on this. |
#14768 adds the basic mechanics for moving the selected image forward/backward - also visual controls. I consider that the first step for this task. |
Added a task list in the issue description to track ongoing work and the status of this. |
#15222 adds drag&drop mechanics. |
Second attempt to fix gallery tab order can be reviewed at #15540 |
I've been thinking it would make more sense to rewrite the Gallery block so that it is a container block (using Doing this would mean that we get drag and drop for free, and that the UI for moving images within a gallery would match the UI for moving blocks within a Group block, or Column blocks within a Columns block, or Navigation Menu Item blocks within a Navigation Menu block. Related: #16974 |
@noisysocks I might be able to try that out soon. thanks for the tip |
@mkaz it looks like most everything is crossed off in the issue description. Can we close this? |
It actually was me that created that list when I took over the issue from Marcus :) I'm fine closing this. However, my question would be if we want to track somewhere adding Drag&Drop support for the image gallery? |
I think adding drag and drop to the Gallery block as it currently exists is a wasted effort. Better to have Gallery use |
Related #317 and #740
Tasks tracking:
Two images selected when tabbingWrong tab orderingRemove image on DELETE and BACKSPACEDeselect first/last images on blurAdd move forward/backward mechanics and controlsThe text was updated successfully, but these errors were encountered: