Skip to content

Convert To (Text/Heading) Collapses <li> into a single line #80

@kanejamison

Description

@kanejamison

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 </li> as a <br> or convert <li> to <p>/<h2> and </li> to </p>/</h2>, etc.

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:
editorjs-list-collapse-on-convert-to2022-12-16 09-18-03 2022-12-16 09_19_16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions