figma-plugin
figma-plugin copied to clipboard
'$' sign gets ignored on bulk remap
Describe the bug '$' sign gets ignored on bulk remap, which is probably due to the introduction of w3c spec.
To Reproduce Steps to reproduce the behavior:
- Bulk remap a token, where the token name contains a $ sign.
- try to remap to another name
- the '$' sign gets ignored and remap is not done
Expected behavior Be able to remap tokens containing a '$' sign
This is due to regex. Users can escape the $ by typing \$
we should make regex a toggle though
Sounds like this is a known issue that needs to be added to technical docs and in product messaging. @rbosker what do you think?
We are also blocking the ability to have $ in the token name as it is forbidden so this should be a non-issue in the near future.