mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 10:56:32 +00:00
fix: don't jump to new journal when in editing mode
This commit is contained in:
@@ -370,6 +370,10 @@
|
||||
[]
|
||||
(ffirst (:editor/editing? @state)))
|
||||
|
||||
(defn editing?
|
||||
[]
|
||||
(some? (get-edit-input-id)))
|
||||
|
||||
(defn get-edit-content
|
||||
[]
|
||||
(get (:editor/content @state) (get-edit-input-id)))
|
||||
|
||||
Reference in New Issue
Block a user