I was trying to simple paste template literal but the regular cmd + shift + v shortcut didn't work.
I was expecting:
${media.tablet`
&:active {
backgound-color: ${white};
color: ${green};
}
}
but I got the garbled version below.
 |
Styled component - tagged template literal |
If you ever notice cmd + shift + v shorcut doesn't simple paste or paste without text formatting, it is because it is set to open up copy and paste history.
 |
Webstorm paste history |
To change it, open up preferences and search for paste.
You have to remove cmd + shift + v that set for Paste from History and
set cmd + shift + v for paste simple.
Thanks for reading!
Jun
Comments
Post a Comment