diff --git a/packages/neos-ui-guest-frame/src/InlineUI/DragAndDropUi/index.tsx b/packages/neos-ui-guest-frame/src/InlineUI/DragAndDropUi/index.tsx index 2763c9afbe..83f4d1c057 100644 --- a/packages/neos-ui-guest-frame/src/InlineUI/DragAndDropUi/index.tsx +++ b/packages/neos-ui-guest-frame/src/InlineUI/DragAndDropUi/index.tsx @@ -9,7 +9,6 @@ import {FusionPath, InsertPosition, Node, NodeContextPath} from '@neos-project/n import { closestContextPathInGuestFrame, closestNodeInGuestFrame, - findNodeInGuestFrame, getGuestFrameDocument // @ts-ignore } from '@neos-project/neos-ui-guest-frame/src/dom'; @@ -225,13 +224,6 @@ const DragAndDropUi: React.FC = targetNodeContextPath, insertPosition ); - - // Remove the original node from the DOM - // TODO: Verify that the move was successful before removing the node - const movedNode = findNodeInGuestFrame(draggedNodeContextPath, draggedNodeFusionPath); - if (movedNode) { - movedNode.remove(); - } }, []); const handleDragEnd = useCallback(() => {