mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
♻️ Replace slate editor with draft-js.
This commit is contained in:
parent
439e5ee6a1
commit
3bef80932d
28 changed files with 1272 additions and 981 deletions
|
@ -180,6 +180,12 @@
|
|||
(def workspace-frames
|
||||
(l/derived cp/select-frames workspace-page-objects))
|
||||
|
||||
(def workspace-editor
|
||||
(l/derived :workspace-editor st/state))
|
||||
|
||||
(def workspace-editor-state
|
||||
(l/derived :workspace-editor-state st/state))
|
||||
|
||||
(defn object-by-id
|
||||
[id]
|
||||
(l/derived #(get % id) workspace-page-objects))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue