globocom / react-native-draftjs-render

React Native render for draft.js model
MIT License
390 stars 62 forks source link

Does this project allow editing of content? #41

Closed allforabit closed 6 years ago

allforabit commented 6 years ago

Sorry this may seem like a silly question, but does this project support editing of content? I have downloaded the project and ran the sample but it seems to be read only. Thanks for the project!

raphaelpor commented 6 years ago

Heelo @allforabit! No, this project just renders the draft.js data on React Native.

Thanks for your question!

donfour commented 5 years ago

Sorry for reopening this issue.

Would it be possible to build a native rich text editor on top of this project, using Draftjs's EditorState and ContentState? Since all available React Native rich text editor libraries are pretty crappy and I'm thinking of implementing it myself.

edit: I dove into Draft's source code and holy crap it seems like a lot of work

raphaelpor commented 5 years ago

It's possible. But I think rich text editors only works inside WebViews. =/

donfour commented 5 years ago

@raphaelpor How come? A rich text editor just boils down something that can render and edit the EditorState right?