From 74c7e60958c4a0e3968ec2665ca88c9c691b468e Mon Sep 17 00:00:00 2001 From: Ella Date: Mon, 2 Dec 2024 12:48:36 +0100 Subject: [PATCH] Restore drop target for dragged block --- .../src/components/use-block-drop-zone/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/block-editor/src/components/use-block-drop-zone/index.js b/packages/block-editor/src/components/use-block-drop-zone/index.js index fae623c333bf54..221e5ab74ebb2e 100644 --- a/packages/block-editor/src/components/use-block-drop-zone/index.js +++ b/packages/block-editor/src/components/use-block-drop-zone/index.js @@ -456,12 +456,6 @@ export default function useBlockDropZone( { const [ targetIndex, operation, nearestSide ] = dropTargetPosition; - if ( - targetIndex === getBlockIndex( draggedBlockClientIds[ 0 ] ) - ) { - return; - } - if ( isZoomOut() && operation !== 'insert' ) { return; }