retejs / dock-plugin

https://retejs.org
MIT License
5 stars 18 forks source link

Drop event of node's children element results in the creation of a new instance of last dropped node #34

Closed Ni55aN closed 4 months ago

Ni55aN commented 4 months ago

Describe the bug

Once the user has dropped a node into the editor using the Drop strategy, any subsequent drop of any other element into the editor creates new instances of the last node

Example to reproduce

https://retejs.org/examples/dock

How to reproduce

Expected behavior

It should not create and add a new node into the editor

Dependencies

image

Platform

No response

Relevant log output

No response

Code of Conduct