Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: Paste doesn't work when copying link from Safari's context menu #771

Closed
ksilz opened this issue Aug 29, 2019 · 5 comments
Closed

Comments

@ksilz
Copy link

ksilz commented Aug 29, 2019

Hi,

I use the latest versions of macOS, WebStorm and the Markdown Navigator plug-in. Now I can't paste this URL into a WebStorm Markdown document with either [Cmd]-[V] or with the menu item:
https://github.com/jhipster/generator-jhipster/issues?q=milestone%3A6.2.0+is%3Aclosed

Paste does work through the "Edit - Paste without Formatting" menu option. Please see the attached "Paste does not work in WebStorm.gif" for details.

It only happens when I copy a link from the Safari context menu with "Copy Link" - see "Paste still does not work.gif" for more.

Regards,
Karsten Silz

Paste does not work in WebStorm

Paste still does not work

@vsch
Copy link
Owner

vsch commented Aug 29, 2019

@ksilz, thank you for reporting it. I did not notice the change in Safari but it stopped providing text/html clipboard type when copying a link.

I will try to figure out which of the provided types I can use to duplicate the previous functionality.

@vsch vsch added this to the V 2.9.2/2.9.8 milestone Aug 29, 2019
@vsch
Copy link
Owner

vsch commented Aug 29, 2019

@ksilz, the new format is also erroneously detected as Linux file URI list but result returns no files so the plugin has nothing to paste. I will fix this also.

As a workaround you can select the link text and copy it. The resulting HTML will be handled as before.

@vsch vsch added the bug label Aug 29, 2019
@vsch
Copy link
Owner

vsch commented Aug 29, 2019

@ksilz, the erroneous Linux file url list is fixed so the link will paste the link address.

I was unable to get access to the other clipboard data flavours in java (public.url-name) for the link text so only the address is pasted.

EAP update with a fix for the issue is available.

Installing EAP Plugin Version

@ksilz
Copy link
Author

ksilz commented Aug 29, 2019

@vsch, thank you for the quick reply! I'm waiting for the next release, I guess.

@ksilz ksilz closed this as completed Aug 29, 2019
@vsch
Copy link
Owner

vsch commented Sep 2, 2019

@ksilz, I will re-open it because it is not fully fixed. I would like copy from link to paste link with text. The information is available on the clipboard. I just have to figure out how to get access to it from Java.

@vsch vsch reopened this Sep 2, 2019
@vsch vsch removed the enhancement label Sep 11, 2019
@vsch vsch modified the milestones: V 2.9.5/2.9.9, V 2.9.8 Dec 19, 2019
@vsch vsch closed this as completed Dec 19, 2019
@vsch vsch closed this as completed Dec 19, 2019
@vsch vsch closed this as completed Dec 19, 2019
@vsch vsch closed this as completed Dec 19, 2019
@vsch vsch reopened this Dec 19, 2019
@vsch vsch closed this as completed Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants