Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to ignore links ? #347

Open
tahola opened this issue Jul 28, 2022 · 1 comment
Open

Is there a way to ignore links ? #347

tahola opened this issue Jul 28, 2022 · 1 comment

Comments

@tahola
Copy link

tahola commented Jul 28, 2022

Hello,

is there any way to completely ignore the links ?

Right now I have to do that :

"onLinkPress={(url) => {
console.log('do nothing');
}}"

And then add the parent color on my links :
const stylesHtml = StyleSheet.create({ p: { color: textColor, }, a: { color: textColor, },

Is there a better way ?

@sampie777
Copy link

Maybe use renderNode on HTMLView to render links as a <Text> element?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants