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

Fix: use default paste when only text is pasted #186649

Conversation

MeghanKulkarni
Copy link
Contributor

@MeghanKulkarni MeghanKulkarni commented Jun 29, 2023

Quick fix for ensuring that when the new markdown link provider (PasteLinkEditProvider) does not return a uri edit, the default paste functionality is used. This is to avoid any letters being highlighted & selected after pasting when the "paste as" setting is enabled.

Fix: #186292

@MeghanKulkarni MeghanKulkarni changed the title Meghan kulkarni/pasting markdown link fixes Fix: use default paste when only text is pasted Jun 29, 2023
@MeghanKulkarni MeghanKulkarni enabled auto-merge (squash) June 29, 2023 20:56
@MeghanKulkarni MeghanKulkarni merged commit bb5c4d5 into microsoft:main Jun 29, 2023
5 of 6 checks passed
@MeghanKulkarni MeghanKulkarni deleted the MeghanKulkarni/pasting-markdown-link-fixes branch June 30, 2023 18:58
@github-actions github-actions bot locked and limited conversation to collaborators Aug 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Weird selection update when pasting over selection
3 participants