Skip to content

Get text of clicked links #326

Open
Open

Description

@abdeljabar

I wonder if it is possible to do something like this. I would like to display the url inside a webview, but I can't get the title/text of the clicked anchor tag.

<HTMLView value={content ? content.rendered : ''} onLinkPress={(url, text) => { navigation.push(WEBVIEW, { url: url, title: text, }); }} />

Activity

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