codex-team / codex-team/editor.js

[Bug] JavaScript error trying to drag & drop images while trying to reorder blocks

Open
#1,197 0 comments 3 reactions 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.

Steps to reproduce:
1. Create at least two blocks
2. Upload an image in one of them
3. Try to reorder the blocks with drag & drop (I know the functionality is not implemented)
4. Check the console

Expected behavior:
At least nothing happens.

Behavior:
Uncaught (in promise) TypeError: Cannot read property 'textContent' of null
at o.value (editorjs@latest:6)
at w. (editorjs@latest:6)
at c (editorjs@latest:6)
at Generator._invoke (editorjs@latest:6)
at Generator.forEach.t. [as next] (editorjs@latest:6)
at n (editorjs@latest:6)
at s (editorjs@latest:6)
at editorjs@latest:6
at new Promise ()
at w. (editorjs@latest:6)

Screenshots:

Device, Browser, OS:
PC - Chrome - Windows 10

Editor.js version:
2.18.8
![Capture](https://user-images.githubusercontent.com/8402157/84317484-39da7c80-ab43-11ea-8fb4-e4efdaead946.PNG)

Plugins you use with their versions:
image@latest

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.