mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
use atom to replace some high frequency used state vars
This commit is contained in:
@@ -1284,7 +1284,7 @@
|
||||
([{:keys [force? skip-properties? current-block] :as opts}]
|
||||
;; non English input method
|
||||
(when-not (or (state/editor-in-composition?)
|
||||
(:editor/skip-saving-current-block? @state/state))
|
||||
@(:editor/skip-saving-current-block? @state/state))
|
||||
(when (state/get-current-repo)
|
||||
(when-not (state/get-editor-action)
|
||||
(try
|
||||
|
||||
Reference in New Issue
Block a user