How I can enable drag and drop node only inside doc?


Please tell me how I can prevent the node from being dragged inside other nodes, i.e. drag and drop is only allowed inside doc(root node)? In the example, I can drag my item to the quote / list .

Thank you :pray:

1 Like

You could try overriding drop behavior with handleDrop.