nylas-mail icon indicating copy to clipboard operation
nylas-mail copied to clipboard

Allow pasting of a clipboard image into an email body

Open Ehesp opened this issue 11 years ago • 10 comments

The Gmail web client allows this making it very handy to quickly inject images into the body of your email content, by simply the commands:

Shift + CMD + Ctrl + 4 or 3

Then CMD + V to paste it.

Ehesp avatar Oct 27 '15 16:10 Ehesp

Hi @Ehesp — this should work if your keyboard is focused in the body of the email. Can you give that a try and let me know? I just double checked and it works for me, but it could be a platform-specific bug.

bengotow avatar Oct 28 '15 18:10 bengotow

Hello - nope this doesn't work for me.

When trying to paste, the 'Edit' text in the toolbar does highlight, so the paste command is being picked up.

Version: image (Unable to copy the version text, might be something to do with it? Hence the image ^^. Although copying email body text works fine.)

Mac OS: New Macbook Pro 15" (2015 model) El Capitan V 10.11

Tried on both an official external Mac keyboard and the built in one.

Ehesp avatar Oct 29 '15 08:10 Ehesp

I will try it out

Affyyia avatar Oct 29 '15 08:10 Affyyia

Hey @Ehesp — just wanted to follow up on this. We've narrowed down the issue—you can paste images via Cmd-V, but you can't paste by right clicking and choosing Paste, which it sounds like you might be doing. I'll see if we can get this fixed.

bengotow avatar Nov 24 '15 23:11 bengotow

Hello, I'll check when I'm next on the Mac however I was doing it via cmd v, which didn't work.

Not tried in the latest updates so will let you know.

Cheers On 24 Nov 2015 11:14 p.m., "Ben Gotow" [email protected] wrote:

Hey @Ehesp https://github.com/Ehesp — just wanted to follow up on this. We've narrowed down the issue—you can paste images via Cmd-V, but you can't paste by right clicking and choosing Paste, which it sounds like you might be doing. I'll see if we can get this fixed.

— Reply to this email directly or view it on GitHub https://github.com/nylas/N1/issues/228#issuecomment-159435902.

Ehesp avatar Nov 24 '15 23:11 Ehesp

Thanks @Ehesp — I pushed a fix for "cannot paste images via right-click > paste". Feel free to re-open if you're still running into the issue, there may be something else going on.

bengotow avatar Nov 24 '15 23:11 bengotow

Seems like it is working now - cheers!

Ehesp avatar Nov 25 '15 09:11 Ehesp

Hi, this CMD+V trick is not working for me... The copied image goes as an attachment.

Here is what I do :

. Take a screeshot . Open the screenshot with Preview . Select All => CMD+C . Go to an email that is being written in Nylas . Focus on the body of the email (the cursor is properly blinking there) . CMD+V => bam... My image is treated as an attachment rather than being inlined :(

My Nylas version : Version 0.4.25-a22631a (0.4.25-a22631a)

Thanks a lot for your feedback!

herveguetin avatar Apr 28 '16 10:04 herveguetin

Just saw this thread while searching for something else.

I can confirm that this is working on Ubuntu 16.04 with the latest N1. :)

~Robert

orschiro avatar Apr 30 '16 06:04 orschiro

Yup I just noticed this as well. On a Mac with the latest N1, the image comes in as an attachment and not inlined.

manishie avatar Sep 15 '16 23:09 manishie