Improve UX for adding images to a gallery block from the media library #71204
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
Closes #48417
Improves the UX for adding images to a Gallery block when there is only a single image.
This PR ensures that a placeholder (empty image block) is always available after inserting the first image, making it easier to continue adding more without extra clicks.
Why?
Currently, when a Gallery block has only one image, it is not obvious how to add additional images from the media library.
Users must:
This creates unnecessary friction. The “+” appender only becomes visible once the gallery has 2 or more images.
This PR reduces that friction by always showing an empty Image block placeholder immediately after the first image is added.
Testing Instructions
Screenshots or screencast
Gallery.Block.mov