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
1 changed files with 1 additions and 1 deletions

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") &&