Skip to content

Commit

Permalink
Restore drop target for dragged block
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Dec 2, 2024
1 parent 5493afd commit 74c7e60
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,12 +456,6 @@ export default function useBlockDropZone( {
const [ targetIndex, operation, nearestSide ] =
dropTargetPosition;

if (
targetIndex === getBlockIndex( draggedBlockClientIds[ 0 ] )
) {
return;
}

if ( isZoomOut() && operation !== 'insert' ) {
return;
}
Expand Down

0 comments on commit 74c7e60

Please sign in to comment.