telesoho / vscode-markdown-paste-image

Smartly paste for Markdown.
MIT License
135 stars 41 forks source link

macOS Monterey image download doesn't work #80

Closed JeffersonDing closed 2 years ago

JeffersonDing commented 2 years ago

Image pasting works as usual, download doesn't work. Output from VSCode

[04-01 00:24:05] "vscode-markdown-paste" is now active!
[04-01 00:24:05] No scipt exists for darwin
[04-01 00:24:05] Clipboard Type:
[04-01 00:24:05] -1
JeffersonDing commented 2 years ago

Pull request for my temporary fix.

telesoho commented 2 years ago

@JeffersonDing Thank you for your PR. But the new ClipboardType.Apple confuse me. Maybe we need a mac script to get correct clipboard type(text, html, or image) first.

JeffersonDing commented 2 years ago

@JeffersonDing

Thank you for your PR.

But the new ClipboardType.Apple confuse me. Maybe we need a mac script to get correct clipboard type(text, html, or image) first.

Of course. It's just a temp fix for myself and incase anyone wants to make it work for now. I'll see if there's a more elegant way to make a clipboard type script.

telesoho commented 2 years ago

@JeffersonDing I release a new version v0.19.0 from your PR. If no any problem we can close this issue