-
Notifications
You must be signed in to change notification settings - Fork 160
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
Pasting dark mode content becomes light mode #2870
Comments
Hello @miku1958, This is by design, and this is more a copy issue than paste issue. The content that is wrote to the clipboard by vscode is already containing the background color as black. So, when that content is pasted in the editor, there is no way for us to identify whether the clipboard content is in Dark mode or not, so we just transform the content to the inverse colors. For example: The HTML clipboard content looks like this, see that the parent div already contains the background color as black.
Pasting the clipboard content to a normal HTML file and opening it looks like this: And since the Rooster editor is already in Dark mode we inverse the colors that vscode wrote to the clipboard. |
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Paste content keep dark mode
Device Information
The text was updated successfully, but these errors were encountered: