editor.js
editor.js copied to clipboard
[Bug] Cannot drag & drop image blocks - TypeError: Cannot read property 'deleteContents' of null
Describe a bug.
When dragging one image block and dropping to other image block calls an error.
Steps to reproduce:

- Drag & drop any image block to make duplicate block.
- Drag one image block and drop it to the other image block.
- You get an error
Expected behavior:
You should not get an error.
Same here!