mirror of
https://github.com/penpot/penpot.git
synced 2025-07-22 16:27:14 +02:00
🐛 Fix rasterizer not loading embedded styles
This commit is contained in:
parent
79c2a6c5d5
commit
5ad31a878b
2 changed files with 47 additions and 11 deletions
|
@ -504,6 +504,10 @@
|
|||
(.setAttribute node property value))
|
||||
node)
|
||||
|
||||
(defn get-text [^js node]
|
||||
(when (some? node)
|
||||
(.-textContent node)))
|
||||
|
||||
(defn set-text! [^js node text]
|
||||
(when (some? node)
|
||||
(set! (.-textContent node) text))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue