Skip to content

Conversation

@sugarshin
Copy link
Collaborator

Please check this PR 🙇

The following error occurred.

Uncaught TypeError: block.getData(...).get is not a function

I think that the data type of ContentBlock needs to be a instance of Immutable.Map .

ref: https://github.com/facebook/draft-js/blob/master/src/model/immutable/ContentBlock.js#L38

@ngs
Copy link
Owner

ngs commented Dec 7, 2016

LGTM! Thanks

@ngs ngs merged commit 80abb64 into ngs:master Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants