Merge pull request #6889 from penpot/niwinz-staging-bugfix

🐛 Fix unexpected exception on processing old texts
This commit is contained in:
Alejandro Alonso 2025-07-14 07:08:31 +02:00 committed by GitHub
commit abef9f3cf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,12 @@
# CHANGELOG
## 2.8.1 (Unreleased)
### :bug: Bugs fixed
- Fix unexpected exception on processing old texts [Github #6889](https://github.com/penpot/penpot/pull/6889)
## 2.8.0
### :rocket: Epics and highlights

View File

@ -479,7 +479,7 @@
;; We don't have the fills attribute. It's an old text without color
;; so need to be black
(and (nil? (:fills node)) (empty? color-attrs))
(update :fills conj txt/default-text-attrs)
(assoc :fills (:fills txt/default-text-attrs))
;; Remove duplicates from the fills
:always