Opened 4 years ago
Closed 6 months ago
#55065 closed defect (bug) (reported-upstream)
galleries not working properly
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Editor | Keywords: | |
| Focuses: | Cc: |
Description (last modified by )
- can't drag and drop to reorganize photos within a gallery
- if there is a "hanging" single photo in a gallery, it is not flush with the rest of the gallery
- when centering a gallery, the photos are aligned single file down the page as opposed to in rows of 2-3, as specified. I.e., it's no longer a WYSIWYG editor as far photos are concerned.
Change History (4)
#1
@
4 years ago
- Component changed from General to Editor
- Description modified (diff)
- Keywords block-editor-ui added
#2
@
4 years ago
I was wrong about the Classic block: the drag-and-drop functionality within the Edit gallery dialog is currently buggy (#54902), but it should be fixed in 5.9.1 (within a few weeks).
#3
@
4 years ago
Hi @pantsonfire77, thanks for reporting these issues.
- can't drag and drop to reorganize photos within a gallery
Are you able to clarify if this is in the dialog that pops up to browse the media library, or in the actual block within the editor page? If it is the media library dialog this is a known issue as @sabernhardt mentioned. If you in fact can't drag and drop within the actual block then feel free to file an issue for that over at https://github.com/WordPress/gutenberg/issues
- if there is a "hanging" single photo in a gallery, it is not flush with the rest of the gallery
This has been fixed here https://github.com/WordPress/gutenberg/pull/38189, and should be in 5.9.1
- when centering a gallery, the photos are aligned single file down the page as opposed to in rows of 2-3, as specified. I.e., it's no longer a WYSIWYG editor as far photos are concerned.
I wasn't able to replicate this, so if you were able to file a new issue for it over at https://github.com/WordPress/gutenberg/issues, with details about which theme you are using, someone will take a look at this.
#4
@
6 months ago
- Keywords block-editor-ui removed
- Milestone Awaiting Review deleted
- Resolution set to reported-upstream
- Status changed from new to closed
I'll close this as 'reported-upstream' because at least part of it was reported on the Gutenberg repository.
The Gallery block images can be reordered with drag-and-drop, either by sorting the inner Image blocks in List View or by dragging a small area in the block toolbar for each image (as shown on GB34827, about improving the experience).
If you have more to add, please comment on one of the Gutenberg issues or open your own issue there.
Hi and welcome to Trac!
Because this involves the block editor interface, these reports belong on GitHub, if they are not already there.
The Gallery block has left and right arrows to reorganize, but of course that is not drag-and-drop.
For now, I recommend experimenting with creating galleries in a "Classic" block. Use the "Add Media" button and then select "Create gallery" on the side. That interface has drag-and-drop functionality, and it should not make image(s) in the last row larger/wider than the others (unless your theme creates that layout).