Skip to content

Uncaught Invariant Violation: Unknown DraftEntity key: null. #33

Description

@afacar

Thanks for this library in advance!
When typing to the end of last word of any paragraph (segment) I'm having the following error
Uncaught Invariant Violation: Unknown DraftEntity key: null.
and the error on developer console is as follows:
transcript-editor-error

I have spent few days to solve this but so far no luck. It looks like a bug and persists on both Chrome & Firefox. Somehow, when you add new characters to the end of last word of any paragraph, last element of the list returned from contentBlock.getChildrenList() method is null and causing this error.
Any idea, help, advice is appreciated

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions