editor-js / editor-js/list-legacy
Convert To (Text/Heading) Collapses <li> into a single line
- Dominant language
- JavaScript
- Stars
- 58
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
When a user highlights text in a list and selects the "convert to text" or "convert to heading" options, the list collapses into a single line.
Expected behavior in most text editors would retain each `` as a `
` or convert `
/
` and `
Here is a GIF replicating this on EditorJS homepage on Dec 16, 2022. Homepage says it is still using "version" : "2.26.0" but I'm seeing it on our local updated 2.26.4 version (1.8.0 on the list plugin) as well:

Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the conversion from a selected list on the Editor.js homepage using the list plugin versions noted in the report. Start at the List Tool’s “convert to text” and “convert to heading” actions, then compare the resulting HTML with the expected per-item breaks or paragraph/heading elements. Done means converting selected list text no longer collapses all list-item content into one line.
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
- 45/100