Skip to content

Copy Image command in markdown preview editor is invalid and an error is reported. #205624

@yiliang114

Description

@yiliang114

Type: Bug

  1. Open any project and open a markdown file containing images.
  2. Open Preview
  3. Right-click the image position in the preview and select Copy Image

VS Code version: Code - Insiders 1.87.0-insider (Universal) (00124e9, 2024-02-16T16:39:24.006Z)
OS version: Darwin x64 23.3.0
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 13, 13, 13
Memory (System) 16.00GB (1.31GB free)
Process Argv --crash-reporter-id df3c396f-6ac7-418f-b02a-fccbcca2579e
Screen Reader no
VM 0%
Extensions (1)
Extension Author (truncated) Version
vscode-language-pack-zh-hans MS- 1.85.2024021409
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256197
vstes516:30244333
vscod805cf:30301675
vsaa593cf:30376535
py29gd2263:30784851
c4g48928:30535728
a9j8j154:30646983
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonidxpt:30768918
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythontestfixt:30866404
pythonregdiag2:30926734
pyreplss1:30879911
pythonmypyd1:30859725
pythoncet0:30859736
2e7ec940:30962249
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
cppperfcontrol:30963551
8082a590:30961435
b5d27386:30943795
fegfb526:30952798
7j2b6412:30951517
e3gdj431:30946825
8f97e687:30959763
ccp1r3:30958150

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesmarkdownMarkdown support issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions