react-native-markdown icon indicating copy to clipboard operation
react-native-markdown copied to clipboard

Markdown tag doesn't respect wrapping:

Open ambarc opened this issue 9 years ago • 2 comments

Hey I have a Markdown that I can't get to wrap to a width. I've tried

Markdown style={{ view: {flexWrap: 'wrap', width: 300} }} > {messageText.split('\n')} </Markdown>

And I get one line of markdown that blazes through all the views and refuses to wrap. The yellow shows the markdown element.

image

ambarc avatar Apr 13 '16 04:04 ambarc

I have same problem.

xcplus avatar Apr 24 '16 14:04 xcplus

In path /Users/anna/projects/fox-mobile/node_modules/react-native-simple-markdown/styles.js fix style: listItemText: { flexDirection: 'row', flexWrap: 'wrap', justifyContent: 'flex-start', alignItems: 'flex-start', color: '#222222', flex:1 }

Then move plugin folder in the folder with the components of your project and reconnect the component react-native-markdown

lossen avatar Nov 11 '16 03:11 lossen