globocom / react-native-draftjs-render

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

Can I pass custom props to the atomic Handler ? #33

Closed gogoku closed 6 years ago

gogoku commented 6 years ago

I have an entityMap object need to be passed to atomic handler, currently only the atomic blocks in blocks object is passed

i have attached the screenshot of the object from my DraftJS

image

raphaelpor commented 6 years ago

Hi @gogoku! It's very important for atomic handlers and we need to make a new release to fix it.

Thanks for your feedback! We'll do it as soon as possible.

gogoku commented 6 years ago

@raphaelpor Thanks , i have a workaround temporarily for it, Hoping to see the fix soon.

raphaelpor commented 6 years ago

Hello @gogoku!

Check out this realease: https://github.com/globocom/react-native-draftjs-render/releases/tag/v2.6.0 I think it helps you. 😃