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

Font colour is not preserved on Firefox+GNU/Linux #55

Open
Wheest opened this issue Sep 11, 2020 · 4 comments
Open

Font colour is not preserved on Firefox+GNU/Linux #55

Wheest opened this issue Sep 11, 2020 · 4 comments

Comments

@Wheest
Copy link

Wheest commented Sep 11, 2020

Copying highlighted text on Firefox on Linux loses all font colour information.

Does not occur on Chromium.

Firefox version 68.11.0esr.

@romannurik
Copy link
Owner

Hi there! A few things:

  1. I can't easily test this, nor can I really guarantee support for various platforms/browsers/etc due to how clipboards work.
  2. Where are you pasting into? Google Slides? Something else?

@pil0u
Copy link

pil0u commented Jul 24, 2021

Hey Roman, thanks for the great tool!
Same here, pasting into Google Slides and just like Wheest, Chromium works just fine on Linux.

When pasting from Firefox, the whole formatting is kept, except for the color. I had no luck after some research online, I have no idea why this happens.

@Wheest
Copy link
Author

Wheest commented Aug 12, 2021

The issue still occurs for me. To clarify, pasting into Google Slides on Firefox from Chromium preserves the formatting, however copying from the webapp on Firefox loses the colour information.

@benjaminp
Copy link

Chromium-based browsers automatically inline out-of-line style information on HTML elements copied into the clipboard, but Firefox does not. Presumably, either fixing https://bugzilla.mozilla.org/show_bug.cgi?id=406488 or changing the code highlighter to use inline CSS rather than classes would resolve this issue.

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

4 participants