Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

List structure lost after copy-pasting #58

Description

@DanielHara

After copy-pasting, sometimes the list structure is lost, and pressing Enter does not start a new list item bullet:
I suspect this is because copy-pasting introduces paragraphs, which are not dealt with in the normalization of slate-lists.

Peek 2020-01-06 15-01

Expected behavior:

Should strip all paragraphs insidelist-item-child elements, so that the list structure behaviour is not affected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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