figma-plugin icon indicating copy to clipboard operation
figma-plugin copied to clipboard

'$' sign gets ignored on bulk remap

Open rbosker opened this issue 1 year ago • 1 comments

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:

  1. Bulk remap a token, where the token name contains a $ sign.
  2. try to remap to another name
  3. the '$' sign gets ignored and remap is not done

Expected behavior Be able to remap tokens containing a '$' sign

rbosker avatar Aug 16 '24 13:08 rbosker

This is due to regex. Users can escape the $ by typing \$

we should make regex a toggle though

six7 avatar Sep 11 '24 07:09 six7

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.

SamIam4Hyma avatar Nov 26 '24 17:11 SamIam4Hyma