So, Chrome released a new version of its browser (v95.0.4638.54) adding a new feature than not only I can't use. Its bugged and also cause me a lot of trouble when I'm developing...
This new feature adds the option to change the type of units in dimension. Like for example, from 3px to 3em, 3cm, 3%... I don't really see the point on this, but guess that could be useful for someone if they added that.
So the first and less important problem is that I can't use this feature, cause it uses white background even if you use dark theme and your font is white too...
And now THE REAL TROUBLE. It seems that they didn't tested how it works... It just... It didn't work... Lets say for example that I defined this styles with the Dev Tools:
color: white;
padding: 2em 0 0 2em;
border-radius: 0 0 1em 1em;
When I try to copy the text and paste it on any IDE or text editor, that's what I get now:
color: white;
padding: 2
em
0 0 2
em
;
border-radius: 0 0 1
em
1
em
;
So... Downgrade my browser before this bug is not an option, I have to see what I develop on last version.
- There's some online tool or light program to format the copied text until Chrome fix their bug? I don't want to format the whole document for a few lines.
- There's some Chrome extension or way to avoid the bug without changing the Chrome version?
- Is there a way to automatically modify my clipboard to paste something at least less disturbing?