mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 10:56:32 +00:00
enhance(undo): preserve latest cursor position when undo
This commit is contained in:
@@ -366,8 +366,8 @@
|
||||
(get-edit-input-id-with-block-id id)
|
||||
(str (subs id 0 (- (count id) 36)) block-id))
|
||||
block (or
|
||||
block
|
||||
(db/pull [:block/uuid block-id])
|
||||
block
|
||||
;; dummy?
|
||||
{:block/uuid block-id
|
||||
:block/content ""})
|
||||
|
||||
Reference in New Issue
Block a user