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

Make HTML Text selectable #332

Open
nikita-zot-1408 opened this issue Aug 13, 2021 · 4 comments
Open

Make HTML Text selectable #332

nikita-zot-1408 opened this issue Aug 13, 2021 · 4 comments

Comments

@nikita-zot-1408
Copy link

Is there any way with which we could make HTML text selectable? I digged documentation but could not find anything about this

@hendradedis
Copy link

hendradedis commented Nov 4, 2021

i think i have same issue , anyone can help
iam try

<HTMLView 
        value={data.content}
        stylesheet={GlobalStyle.HTMLStyleSheet}
        onLinkPress={(url) => handleLinkClicked(url)} // TODO: handle url pressed
        textComponentProps={{selectable:true}}
      />
  what wrong in code ?

@lalbuquerque
Copy link

Hello! Any updates on this?

@ansmlc
Copy link

ansmlc commented May 9, 2022

Sorry to see selectable text is not yet supported. I came here exploring an alternative to ‘react-native-render-html’ for this very reason. The said plugin supports the ‘selectable:true’ option but it’s functionality is limited in iOS.

@dongsuo
Copy link

dongsuo commented Aug 10, 2023

@ansmlc Me too! Did you find the way to solve this problem eventually?

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

5 participants