Skip to content

Context menu for "Paste" missing #1725

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

Closed
dsyer opened this issue May 26, 2020 · 2 comments
Closed

Context menu for "Paste" missing #1725

dsyer opened this issue May 26, 2020 · 2 comments

Comments

@dsyer
Copy link

dsyer commented May 26, 2020

This seems to be the case in every view/editor. You can use CTRL-C/CTRL-V to copy and paste, but the context menu (on right click) in an editor only has "Cut" and "Copy" and never "Paste", even if the clipboard should be full (after a "Copy" or a CTRL-C for instance).

@code-asher
Copy link
Member

What browser are you using and are you accessing over https? ctrl+v performs a native paste in browsers but the context menu needs to use the clipboard API which is only available over https and isn't available in all browsers (Chrome supports it but Firefox doesn't for example).

Cut and copy still work in the context menu because there are workarounds that don't use the clipboard API but paste has no such workaround.

I think this is essentially #1106 but please correct me if it seems to be a different issue.

I think the move will be to always show the paste option but when it's clicked display a message describing why it won't work and possible solutions (i.e. switch to Chrome).

@dsyer
Copy link
Author

dsyer commented May 26, 2020

I don’t really know if that’s the same, but definitely related. I can’t get a TLS connection in this instance so that’s probably not going to be an option, but as long as I know something works I can work with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants