Skip to content

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

@ryuever

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

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