Skip to content

[FR] Pasting url should paste a link and when there's a highlighted selection it should make it into a link  #7214

@chrisirhc

Description

@chrisirhc

Description

This is a behaviour documented over at yzhang-gh/vscode-markdown#20 .

Current behaviour on Mobile iOS

Pasting a link results in noop, nothing happens, nothing is pasted. Regardless of whether a selection is highlighted or not.

Expected behaviour

During a past of a URL:

  • If some text is highlighted, that text becomes a link pointing to the URL.
  • Else, paste the URL as text and make it into a link pointing to that URL.

Impact

  • Easier to add links into a document (down from 4 taps on a mobile, to 1 paste action)

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingeditorfeatures related to the rich-text editor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions