Whenever I try to copy and paste image from clipboard nothing happens on editor.
Pasting text works just fine but not image. Only drag and drop or attaching works.
Is pasting image from clipboard not supported?
Environment
Platform: macOS
Platform version: Ventura/13/2/1
App Version: 5.5.3
How to reproduce
It’s simple. Just take a screenshot and copy to clipboard, then paste it in Inkdrop editor.
But I’m afraid this happens only on my Inkdrop app
Thanks for the report. That’s weird.
I can’t reproduce it in my environment.
I took a screenshot and it has been successfully pasted into the editor by pressing Cmd-V.
Do you get any errors in the developer console?
How large is your screenshot in MB?
I find it weird also, and I also expected it would be difficult to reproduce.
The size is not large at all. KB size images cannot be pasted as well.
Is there any way to reset all the Inkdrop configurations other than deleting the directory from below path?
I guess resetting the configuration does not solve it.
Are you able to insert an image file by D&D from Finder?
Have you installed third-party plugins?
Do you get no errors in the developer console?
D&D works perfectly fine from both Finder and anywhere as well.
I did add some theme plugins as well as the list of below third-party plugins.
breaks/code-fold/paste-url/export-as-html/export-as-markdown/export-print/import-markdown/import-html
This is what I get from the developer console when I toggle it.
But there is no additional error when I try to paste images in.
If it’s still not working, do you use any clipboard manager tool or anything like that?
If not, we have to look into the clipboard data.
What do you get if you run the following code in the developer console, after copying a screenshot?
Note that your clipboard replaces the data when you copy the below code. Be sure that the clipboard has the screenshot data when running the code.
var clipboard = require('electron').clipboard
clipboard.availableFormats()
Yeah, looks like CleanShot X is the culprit.
But I’m kind of confused why the clipboard has text/uri-list instead of image/png. That looks not normal.
Can you check the CleanShot X settings? I guess there should be a setting that changes how it stores screenshots in the clipboard.
Inkdrop looks into clipboard data, so it can’t paste into the editor unless you have correct image data in it.
Cool, there was an option to decide which format I would copy to clipboard.
Default setting was both File and Image.
When I changed to Image only, copy & paste worked totally fine in Inkdrop!!!