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

Support HTML fragments and other clipboard formats #19

Open
cmcqueen opened this issue Aug 5, 2014 · 2 comments
Open

Support HTML fragments and other clipboard formats #19

cmcqueen opened this issue Aug 5, 2014 · 2 comments

Comments

@cmcqueen
Copy link

cmcqueen commented Aug 5, 2014

In Ubuntu Unity at least (not sure about Gnome, KDE, other platforms), it's possible to copy and paste HTML fragments and other clipboard formats. Likewise on Windows, clipboard data can be in a number of formats.

Can xerox be enhanced to support other clipboard formats? This would probably significantly increase the complexity of implementation, and increase the complexity of the API a bit, but having a good cross-platform solution would be very useful for users.

richxerox is a great starting point, although it's Mac OSX only.

@gdraps
Copy link

gdraps commented Sep 5, 2014

In case anyone needs to roll their own support:

@cmcqueen
Copy link
Author

cmcqueen commented Sep 8, 2014

xclip on Linux does support -target as you said. However, I want to support having multiple formats on the clipboard at once (e.g. HTML and plain text), but xclip can only do one format at a time.

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