I tried about 4 times and every single time the code broke. I’m trying to make a Block Editor like Scratch for CCS. I want to add drag and drop functionality, that worked.

Then I went to add the functionality to nest blocks in events/if statements but then it wouldn’t nest out. I added duplicate/delete functionality.

May I know how to add drag and drop with nesting and unnesting (without react or anything else just plain html, css, js) ?