codex-team / codex-team/editor.js

[Bug] Cannot drag & drop image blocks - TypeError: Cannot read property 'deleteContents' of null

Open
#1,443 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

_Describe a bug._

When dragging one image block and dropping to other image block calls an error.

_Steps to reproduce:_
![editor-image-drag-and-drop-error](https://user-images.githubusercontent.com/28282249/100193039-625e0380-2f36-11eb-9bc3-2baf8c552e8e.gif)

1. Drag & drop any image block to make duplicate block.
2. Drag one image block and drop it to the other image block.
3. You get an error

_Expected behavior:_

You should not get an error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.