mirror of
https://github.com/penpot/penpot.git
synced 2026-03-30 08:10:30 +02:00
✨ Allows drag-drop files into dashboard
This commit is contained in:
@@ -319,7 +319,9 @@
|
||||
create-child
|
||||
(fn [file child]
|
||||
(-> file
|
||||
(create-svg-raw (assoc data :content child))
|
||||
(create-svg-raw (assoc data
|
||||
:id (uuid/next)
|
||||
:content child))
|
||||
(close-svg-raw)))]
|
||||
|
||||
;; First :content is the the shape attribute, the other content is the
|
||||
|
||||
Reference in New Issue
Block a user