In-between inserter: Unexpected vertical inserter display #64227
Labels
[Feature] Drag and Drop
Drag and drop functionality when working with blocks
[Feature] Inserter
The main way to insert blocks using the + button in the editing interface
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
In #56186, a vertical inserter was introduced to create Rows and Galleries. However, this causes unintended behavior in some scenarios.
For example, we should consider the following scenarios:
Step-by-step reproduction instructions
From what I have seen, the scenarios that cause the problem are:
Create galleries from Image blocks
If both the Gallery block and the Row variation are not enabled:
bafbe834b30aa1f641af2cfbac8fd31a.mp4
Create Rows from selected blocks
If the Row variation is not enabled:
layout.type
as flex appears to be created correctly, but the block name remains Group.e9c94d89c8f0d666951faa9ca5ec765b.mp4
When a Row block cannot be created
For example, if the button orientation is vertical:
7429af61470d499fda765f06e29c186b.mp4
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: