Skip to content

Text gets removed when applying medium-editor to a parent element #1067

Open
@alvarotrigo

Description

@alvarotrigo

Having a list with paragrpahs within it:

<ul>
    <li class="editable">
         <p>Just a demo</p>
    </li>
</ul>

If I place the cursor in the middle of the text and press enter. (without shift), half of the text will suddenly get removed.

Reproduction online

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions