-
-
Notifications
You must be signed in to change notification settings - Fork 327
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
Copying code copies +/- too although they aren't highlighted. #558
Comments
thank you! |
I can't replicate in Brave. Maybe it's a problem of Safari |
Weird just tried in Brave and the problem exists there too. |
I did some research and it seems to be caused by this webkit issue, where I tried it on Chrome and the problem doesn't exist there, though it does in Brave... |
I found this workaround but this leads to the text being selected but not copied. |
It must be, the code generated by Tailwind contains the webkit flag: -webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; I also tried in a Mac with Chrome and Firefox: none has this issue, only Safari |
I was just going through the tutorial and noticed when copying the code it copies the +/- too although they are not highlighted.
this copies:
I'm using Safari 15.0 on macOS Monterey.
The text was updated successfully, but these errors were encountered: