mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
perf: no need to clear-edit! when editing new block
This commit is contained in:
@@ -173,8 +173,6 @@
|
||||
(defn- edit-block-aux
|
||||
[repo block content text-range {:keys [container-id]}]
|
||||
(when block
|
||||
(when (not= (:db/id block) (:db/id (state/get-edit-block)))
|
||||
(state/clear-edit!))
|
||||
(let [container-id (or container-id
|
||||
(state/get-current-editor-container-id)
|
||||
:unknown-container)]
|
||||
|
||||
Reference in New Issue
Block a user