Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Update entity example to provide contentState instead of blockArray #333

Conversation

kyledetella
Copy link

As mentioned (and subsequently fixed in the documentation) by issues #28, #30, and #43 createFromRaw returns an Array of ContentBlock objects. This updates the entity example to reflect those changes.

@hellendag
Copy link

convertFromRaw returns a ContentState as of 844b85e.

This example was fixed in a followup by ee082fa.

Master is currently correct -- the documentation is incorrect and needs to be updated. I'll fix that up.

@hellendag hellendag closed this Apr 24, 2016
ghost pushed a commit that referenced this pull request Apr 24, 2016
Summary:As noted in #333.
Closes #336

Differential Revision: D3218108

fb-gh-sync-id: 6623e6646672ed733b4e0bf87a25ea740bba3cfa
fbshipit-source-id: 6623e6646672ed733b4e0bf87a25ea740bba3cfa
qgerome pushed a commit to whatever-company/draft-js that referenced this pull request Jun 9, 2016
Summary:As noted in facebookarchive#333.
Closes facebookarchive#336

Differential Revision: D3218108

fb-gh-sync-id: 6623e6646672ed733b4e0bf87a25ea740bba3cfa
fbshipit-source-id: 6623e6646672ed733b4e0bf87a25ea740bba3cfa
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants