mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 11:31:39 +02:00
✨ Include advanced interactions and flows in import/export
This commit is contained in:
parent
a6dfa6bbbd
commit
09d1c958ce
5 changed files with 146 additions and 50 deletions
|
@ -315,7 +315,10 @@
|
|||
page-data (-> (cip/parse-page-data content)
|
||||
(assoc :name page-name)
|
||||
(assoc :id (resolve page-id)))
|
||||
file (-> file (fb/add-page page-data))]
|
||||
flows (->> (get-in page-data [:options :flows])
|
||||
(mapv #(update % :starting-frame resolve)))
|
||||
page-data (d/assoc-in-when page-data [:options :flows] flows)
|
||||
file (-> file (fb/add-page page-data))]
|
||||
(->> (rx/from nodes)
|
||||
(rx/filter cip/shape?)
|
||||
(rx/mapcat (partial resolve-media context file-id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue