-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
[Block] GroupAffects the Group Block (and row, stack and grid variants)Affects the Group Block (and row, stack and grid variants)[Feature] Block LockingThe API allowing for the ability to lock/unlock blocksThe API allowing for the ability to lock/unlock blocks[Feature] Drag and DropDrag and drop functionality when working with blocksDrag and drop functionality when working with blocks[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When I set the locking option on a group (grid) block, with "Disable movement" UNchecked, to allow only moving child blocks, it doesn't seem to work as expected:
Moving blocks around with the toolbar arrows works, but drag and drop within the toolbar or the sidebar does not allow moving blocks.
Step-by-step reproduction instructions
- Open a page in the editor
- Add a group block (I tested with the grid variant)
- Add 3 images as child blocks
- Drag and drop child blocks in sidebar, and notice this works as expected
- Set the group lock option to "prevent removal" and apply to all blocks inside
- Try drag and drop again, it does not work, but the toolbar arrows do work
Screenshots, screen recording, code snippet
Environment info
WordPress 6.7.1
Macbook Pro
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
yogeshbhutkar
Metadata
Metadata
Assignees
Labels
[Block] GroupAffects the Group Block (and row, stack and grid variants)Affects the Group Block (and row, stack and grid variants)[Feature] Block LockingThe API allowing for the ability to lock/unlock blocksThe API allowing for the ability to lock/unlock blocks[Feature] Drag and DropDrag and drop functionality when working with blocksDrag and drop functionality when working with blocks[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended