mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 03:56:11 +02:00
✨ Dynamic preview html output
This commit is contained in:
parent
723c14bef2
commit
641f8fb250
9 changed files with 217 additions and 20 deletions
frontend/src
|
@ -18,6 +18,7 @@
|
|||
[app.common.uuid :as uuid]
|
||||
[app.config :as cf]
|
||||
[app.main.data.dashboard.shortcuts]
|
||||
[app.main.data.preview :as dp]
|
||||
[app.main.data.viewer.shortcuts]
|
||||
[app.main.data.workspace :as dw]
|
||||
[app.main.data.workspace.changes :as dwc]
|
||||
|
@ -212,6 +213,10 @@
|
|||
[]
|
||||
(dump-selected' @st/state))
|
||||
|
||||
(defn ^:export preview-selected
|
||||
[]
|
||||
(st/emit! (dp/open-preview-selected)))
|
||||
|
||||
(defn ^:export parent
|
||||
[]
|
||||
(let [state @st/state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue