mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
fix: new typing chars are not saved after Enter pressed
This happens when writing fast or on an old device, the reason is that the user can still write something after Enter pressed and before the data is transacted and UI refreshed.
This commit is contained in:
@@ -121,6 +121,7 @@
|
||||
:block/component-editing-mode? false
|
||||
:editor/op (atom nil)
|
||||
:editor/start-pos (atom nil)
|
||||
:editor/async-unsaved-chars (atom nil)
|
||||
:editor/hidden-editors #{} ;; page names
|
||||
:editor/draw-mode? false
|
||||
|
||||
@@ -314,8 +315,7 @@
|
||||
:ui/select-query-cache (atom {})
|
||||
:favorites/updated? (atom 0)
|
||||
:db/async-query-loading (atom #{})
|
||||
:db/async-queries (atom {})
|
||||
})))
|
||||
:db/async-queries (atom {})})))
|
||||
|
||||
;; Block ast state
|
||||
;; ===============
|
||||
|
||||
Reference in New Issue
Block a user