Skip to content

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

Merged
mjbvz merged 4 commits intomicrosoft:mainfrom
notoriousmango:copy-image-handle-error
Mar 25, 2025
Merged

fix: use the copy command for images with CORS errors in the markdown preview#240508
mjbvz merged 4 commits intomicrosoft:mainfrom
notoriousmango:copy-image-handle-error

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