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

Copy&Paste does not work anymore and prevents paste in UIExtension input #249

Closed
planger opened this issue Jun 8, 2021 · 0 comments · Fixed by eclipse-glsp/glsp-client#124
Assignees
Labels
Projects

Comments

@planger
Copy link
Member

planger commented Jun 8, 2021

For some reason, copy&paste doesn't work anymore, maybe it isn't allowed anymore in Chrome to set clipboard data in any other type than plain/text.
Also if you copy and paste text from HTML inputs of a UIExtension, the respective paste is prevented.

@planger planger added the client label Jun 8, 2021
@planger planger self-assigned this Jun 8, 2021
@planger planger added this to New in GLSP kanban via automation Jun 8, 2021
@planger planger moved this from New to In progress in GLSP kanban Jun 8, 2021
planger added a commit to eclipse-glsp/glsp-client that referenced this issue Jun 8, 2021
Switches mime type of clipboard ID to text/plain.
Prevents GLSP handling paste if the active element isn't the SVG element.
Tests whether copy, cut and paste commands are supported in the browser
to enable even paste in an Electron context.

Fixes eclipse-glsp/glsp#249
GLSP kanban automation moved this from In progress to Done Jun 14, 2021
martin-fleck-at pushed a commit to eclipse-glsp/glsp-client that referenced this issue Jun 14, 2021
Switches mime type of clipboard ID to text/plain.
Prevents GLSP handling paste if the active element isn't the SVG element.
Tests whether copy, cut and paste commands are supported in the browser
to enable even paste in an Electron context.

Fixes eclipse-glsp/glsp#249
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
GLSP kanban
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant