Skip to content

Make HTML Text selectable #332

Open
Open

Description

@nikita-zot-1408

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

Activity

  1. hendradedis commented on Nov 4, 2021

    @hendradedis

    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 ?
    
  2. lalbuquerque commented on Feb 1, 2022

    @lalbuquerque

    Hello! Any updates on this?

  3. ansmlc commented on May 9, 2022

    @ansmlc

    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.

  4. dongsuo commented on Aug 10, 2023

    @dongsuo

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions