react-native-htmlview
react-native-htmlview copied to clipboard
Return null for parent if current node.name == 'img'
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 did you come up with a solution?