Skip to content

Delete the last words in the nested block will cause error issue #21

Description

@ryuever

when backspace from the start of a nested block, delete parent instead of child.

removeRangeFromContentState do this work, but it has a bug. Because the parent does not tear down completely, then it will make the grandparent has a non-exist block. The detail please refer to facebookarchive/draft-js#2571

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

    bugSomething isn't workingdocumentationImprovements or additions to documentationnested block

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions