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

`views nested within a text must have a width and height` error on blockQuote's list

Open tedwong opened this issue 7 years ago • 9 comments

The code:

        <Markdown whitelist={['em', 'strong', 'image', 'link', 'blockQuote', 'list']}>
          > You don't need HTML:{'\n'}
          > {'\n'}
          > * a markdown{'\n'}
          > * list in quotes{'\n'}
          >
        </Markdown>

The result: simulator screen shot 24 jul 2017 10 06 45 am

tedwong avatar Jul 24 '17 02:07 tedwong

+1

boydenhartog avatar Jul 24 '17 11:07 boydenhartog

👍

mkatanski avatar Aug 08 '17 10:08 mkatanski

+1

machinefixer avatar Sep 03 '17 10:09 machinefixer

+1

soleilgl avatar Sep 07 '17 22:09 soleilgl

+1

developer434 avatar Oct 22 '17 20:10 developer434

+1

EDIT: Seems like 1.0.60-rc.3 is broken and 1.0.60 is not available from npm. 🤷‍♂️

liekki avatar Oct 27 '17 09:10 liekki

What an annoying problem indeed! I'll try to fix that in v1.1 but don't hesitate to send a PR if you've already done it!

CharlesMangwa avatar Dec 07 '17 22:12 CharlesMangwa

This seems to be an error with the blockQuote element itself that was introduced with a recent RN version. I'll try to fix that for v1.2 instead :)

CharlesMangwa avatar Dec 24 '17 10:12 CharlesMangwa

+1

This has to do with nested bullets, but I have been unable to come up with a solution that preserves the layout of the markdown

Monte47 avatar May 22 '18 18:05 Monte47