Skip to content

fix: use the copy command for images with CORS errors in the markdown preview #240508

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

Merged
merged 4 commits into from
Mar 25, 2025

Conversation

notoriousmango
Copy link
Contributor

resolves #205624

Use the document copy command to copy the image when retrieving a blob from a canvas that triggers a CORS error.
If selection does not exist, copy the image source to the clipboard.

@mjbvz mjbvz added this to the February 2025 milestone Feb 18, 2025
@mjbvz mjbvz modified the milestones: February 2025, March 2025 Feb 28, 2025
@mjbvz mjbvz enabled auto-merge March 25, 2025 17:59
@mjbvz mjbvz merged commit 42c4a17 into microsoft:main Mar 25, 2025
7 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators May 9, 2025
@notoriousmango notoriousmango deleted the copy-image-handle-error branch June 8, 2025 02:50
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.

Copy Image command in markdown preview editor is invalid and an error is reported.
3 participants