mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
fix: don't re-render the unrelated blocks when inserting a new block
This commit is contained in:
@@ -48,6 +48,11 @@
|
||||
[content]
|
||||
(util/copy-to-clipboard! (text/remove-id-property content)))
|
||||
|
||||
(defn config-with-document-mode
|
||||
[config]
|
||||
(assoc config
|
||||
:document/mode? (state/sub [:document/mode?])))
|
||||
|
||||
(comment
|
||||
(let [repo (state/get-current-repo)]
|
||||
(p/let [remote-oid (get-remote-ref repo)
|
||||
|
||||
Reference in New Issue
Block a user