Allow blocks which take children to work with DND
This commit is contained in:
parent
aaa448cca8
commit
c4bbaa6617
|
@ -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") &&
|
||||
|
|
Loading…
Reference in New Issue