Skip to content

Bug: Support for text/uri-list type when pasting #4409

Closed

Description

@goldblatt

When opening a link from a mobile app in IOS (specifically I was testing with the linkedin mobile app, but I think text/uri-list is a somewhat common type) and pasting into my app which uses lexical-- the pasted text doesn't appear. The meta type of the pasted text is 'text/uri-list' which seems to be unsupported. I'd expect it to handle this case.

Lexical version:

Steps To Reproduce

  1. On IOS, go to a post in the linkedin mobile app and click the share button and select 'Copy' from the IOS menu
  2. Paste that text into an app that uses lexical

Link to code example: happens in the playground

The current behavior

Text does not paste

The expected behavior

Text pastes a link

Activity

  1. acywatson commented on Apr 26, 2023

    @acywatson
    Contributor

    This is a good one - I didn’t know this type existed!

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

    good first issuehelp-wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions