mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
Split out property related fns
in order to make editor ns more maintainable
This commit is contained in:
committed by
Tienson Qin
parent
f73d964899
commit
9628fc52b9
@@ -6,6 +6,7 @@
|
||||
[frontend.db.utils :as db-utils]
|
||||
[frontend.fs :as fs]
|
||||
[frontend.handler.editor :as editor-handler]
|
||||
[frontend.handler.editor.property :as editor-property]
|
||||
[frontend.handler.page :as page-handler]
|
||||
[frontend.handler.assets :as assets-handler]
|
||||
[frontend.handler.notification :as notification]
|
||||
@@ -132,7 +133,7 @@
|
||||
(get-in highlight [:content :image])
|
||||
(js/Date.now))
|
||||
:hl-color (get-in highlight [:properties :color])}]
|
||||
(editor-handler/set-block-property! (:block/uuid block) k v))))
|
||||
(editor-property/set-block-property! (:block/uuid block) k v))))
|
||||
|
||||
(defn unlink-hl-area-image$
|
||||
[^js _viewer current hl]
|
||||
|
||||
Reference in New Issue
Block a user