dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.76k stars 259 forks source link

Dendron Paste Image: Not working in .devcontainer #749

Open brandoncroberts opened 3 years ago

brandoncroberts commented 3 years ago

Please select the area your Bug applys to. (Multiple selections are Possible)

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Open Your Dendron workspace in a .devcontainer in VSCode. I chose the Open In Volume option but I think this happens with any option. I also chose the VSCode Image Node.js & Typescript.
  2. Copy image to clipboard on MacOs
  3. Run the Dendron Paste Image Command
  4. Error Message pops up saying You need to install Xclip
  5. exec sudo apt install xclip
  6. Run the Dendron Paste Image Command
  7. Error Message pops up There is not an image in the clipboard.

Expected behavior

Paste Markdown Image/ Add image to assets

Screenshots

If applicable, add screenshots to help explain your problem.

Screenshot 2021-05-22 at 21 13 49

Desktop (please complete the following information)

brandoncroberts commented 3 years ago

This seems potentially relevant. https://code.visualstudio.com/docs/remote/troubleshooting#_clipboard-does-not-work

kpathakota commented 3 years ago

Yeah, pretty sure we do use clipboardy in which case, hopefully this is a quick fix to support remote installs of Dendron.

brandoncroberts commented 3 years ago

Yeah, pretty sure we do use clipboardy in which case, hopefully this is a quick fix to support remote installs of Dendron.

Just looked and it seems the paste image functionality is using this library? https://github.com/mushanshitiancai/vscode-paste-image

kevins8 commented 3 years ago

Yes

On Sat, May 29, 2021 at 2:19 AM 8brandon @.***> wrote:

Yeah, pretty sure we do use clipboardy in which case, hopefully this is a quick fix to support remote installs of Dendron.

Just looked and it seems the paste image functionality is using this library? https://github.com/mushanshitiancai/vscode-paste-image

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dendronhq/dendron/issues/749#issuecomment-850802142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABPIPQLGM7YGP4J2FTWC5DTQCWT3ANCNFSM45K5LSSA .