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

Allow setting value of primary clipboard buffer on linux #81

Closed
nightwing opened this issue Aug 16, 2018 · 0 comments
Closed

Allow setting value of primary clipboard buffer on linux #81

nightwing opened this issue Aug 16, 2018 · 0 comments

Comments

@nightwing
Copy link

On most Linux distros middle click pastes last selected text.

For web editors that do not render all the visible text, or do not use browser selection, this behavior is impossible to replicate ajaxorg/ace#175 codemirror/codemirror5#931

On Chrome it is possible to use a hack, by putting the text into a hidden textarea and selecting it, but that causes performance issues, and doesn't work on other browsers.

It would be useful to either have a performant way to set the value of primary clipboard, or a way to set it when editor is blurred.

The old, non-web clipboard api on firefox provided a way to do this.

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

1 participant