mirror of
https://github.com/penpot/penpot.git
synced 2025-06-10 00:41:39 +02:00
✨ Add undo block api to plugins
This commit is contained in:
parent
aa90232bf9
commit
60c63e4558
2 changed files with 55 additions and 1 deletions
|
@ -30,6 +30,7 @@
|
|||
[app.plugins.file :as file]
|
||||
[app.plugins.fonts :as fonts]
|
||||
[app.plugins.format :as format]
|
||||
[app.plugins.history :as history]
|
||||
[app.plugins.library :as library]
|
||||
[app.plugins.page :as page]
|
||||
[app.plugins.parser :as parser]
|
||||
|
@ -394,4 +395,5 @@
|
|||
{:name "currentUser" :get #(.getCurrentUser ^js %)}
|
||||
{:name "activeUsers" :get #(.getActiveUsers ^js %)}
|
||||
{:name "fonts" :get (fn [_] (fonts/fonts-subcontext plugin-id))}
|
||||
{:name "library" :get (fn [_] (library/library-subcontext plugin-id))}))
|
||||
{:name "library" :get (fn [_] (library/library-subcontext plugin-id))}
|
||||
{:name "history" :get (fn [_] (history/history-subcontext plugin-id))}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue