react-native-draftjs-render
react-native-draftjs-render copied to clipboard
React Native render for draft.js model
`"entityMap":{"0":{"type":"IMAGE","mutability":"MUTABLE","data":{"src":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRWO_UAe27eAhTik2ggPbzKGQfuXD1oVosA_Q&usqp=CAU","height":"auto","width":"auto","alignment":"right"}}} `
Hey, I was wondering if it's possible to support the style prop `backgroundColor` for text blocks ? Let's say I have those blocks: ``` 0: { data: {}, depth: 0,...
- Added draftjs from admin dashboard.. Now trying to display into mobile...  
import contentState from 'DraftJs/contentState'; After installing when im using the given sapmle code const MyApp = () => { const blocks = getRNDraftJSBlocks({ contentState }); return ( {blocks} ); };...
it was rendered normally when i use data from local json file but it's not render when i fetch contentState from api even its a same data here a code...
Hi team, package is support decorators. Sometime, in my content have hashtag **#abc** , and i want to custom color it. How to ? Thanks
Hey guys, marginLeftWithoutDepth seems to be hard coded [here](https://github.com/globocom/react-native-draftjs-render/blob/f6c5078a92691988bc1c10e30a5c16004cfd57db/src/components/OrderedListItem.js#L48), which makes it difficult to align the ordered list with other blocks. Is there any possibility to make it customizable?
Implement render empty blocks: #16 Usage: ``` getRNDraftJSBlocks({ contentState, renderEmptyBlocks: true}) ```
Hi there! I am looking to have one font family for a bold header-one, and a different font family for a bold header-two. Is there any way to do this?...