diff --git a/CHANGES.md b/CHANGES.md index feff0ba555..23f906325c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -37,7 +37,7 @@ - Fix unhandled exception on open-new-window helper [Github #7787](https://github.com/penpot/penpot/issues/7787) - Fix incorrect handling of input values on layout gap and padding inputs [Github #8113](https://github.com/penpot/penpot/issues/8113) - Fix several race conditions on path editor [Github #8187](https://github.com/penpot/penpot/pull/8187) - +- Fix app freeze when introducing an error on a very long token name [Taiga #13214](https://tree.taiga.io/project/penpot/issue/13214) ## 2.12.1 diff --git a/common/src/app/common/types/token.cljc b/common/src/app/common/types/token.cljc index 5ee3661a91..6a9d830a3a 100644 --- a/common/src/app/common/types/token.cljc +++ b/common/src/app/common/types/token.cljc @@ -99,7 +99,7 @@ (def token-name-ref [:re {:title "TokenNameRef" :gen/gen sg/text} - #"^(?!\$)([a-zA-Z0-9-$_]+\.?)*(?