-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[Bug]: Copying in dark mode copies the dark style #3954
Comments
Nothing we can do about this, it’s a browser feature. Use the copy to clipboard buttons (below the message, or top right of code lock) or export to markdown |
You can try ctrl+shift+v to paste text without any formatting |
I have a fix (the same one chatgpt and multiple other sites uses) |
It also removes semantic formatting like headings, numbering, or tables. |
@danny-avila it works in ChatGPT and I copied the behavior in the pull request |
What happened?
When copying text from an answer in dark mode, the copied content retains the dark mode styling (light text on dark background) when pasted into other applications like Google Docs.
This is unlike other writing assistance platforms, such as ChatGPT, which have implemented a fix for this issue.
Expected behavior: The copied text should paste with default styling in the destination application, regardless of the current theme mode in our application.
I'm opening a PR with a fix
Steps to Reproduce
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots
Code of Conduct
The text was updated successfully, but these errors were encountered: