editor-js / editor-js/simple-image-tutorial
Renders an additional non active input field
- Dominant language
- JavaScript
- Stars
- 29
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
If editor has no initial input data, then after pressing **enter** in an empty input field there is created an addition not intended input field which does nothing.
### How to reproduce:
1. Delete data object from **new EditorJS** in the example.html
2. In browser, press **tab** twice and then **enter** to create image input field
3. Press **enter** again
Result looks like this:

But pasting image url into the second field does nothing.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open example.html and reproduce the empty-editor sequence in a browser: press Tab twice, Enter to create the image input, then Enter again. Trace the handling of the additional input field and verify that pressing Enter does not create a non-functional field; pasting an image URL should continue to work in the intended field.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100