-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow drag and drop to create Rows and Galleries (#56186)
* Try dragging blocks onto other blocks to create Rows * Make blocks draggable onto other blocks * Change logic to use inbetween inserter * make it less broken * Drop to either side of target block * Improve distances for drop indicator to show and wrap images in gallery * Use THRESHOLD_DISTANCE * Fix scrollbar weirdness * Check blocks actually exist * Make sure block to group with isn't already a Row. * Make sure drop indicator doesn't appear outside Rows. * Check block groupability * Update tests to take new behaviour into account * Fix Paragraph e2e tests * Fix drag and drop e2e tests
- Loading branch information
1 parent
177c45b
commit 973d87b
Showing
11 changed files
with
272 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
973d87b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in 973d87b.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7636021859
📝 Reported issues:
/test/e2e/specs/editor/blocks/paragraph.spec.js