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

Return null for parent if current node.name == 'img'

Open leslielyj opened this issue 6 years ago • 1 comments

My html looks like this:

<p><img></p>

i can remove the img with:

if(node.name == 'img')
        {
          return null;
        }

but how can I remove the parent?

leslielyj avatar Jun 24 '19 04:06 leslielyj

@leslielyj did you come up with a solution?

chrise86 avatar Sep 03 '19 08:09 chrise86