1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Allow blocks which take children to work with DND

This commit is contained in:
Andrew Kingston 2021-11-12 15:18:55 +00:00
parent aaa448cca8
commit c4bbaa6617

View file

@ -147,7 +147,7 @@
return
}
const element = e.target.closest(".component")
const element = e.target.closest(".component:not(.block)")
if (
element &&
element.classList.contains("droppable") &&