mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
fix: DEL lost editor state
This commit is contained in:
@@ -177,7 +177,7 @@
|
||||
(when block
|
||||
(state/clear-edit!)
|
||||
(let [container-id (or container-id
|
||||
@(:editor/container-id @state/state)
|
||||
(state/get-current-editor-container-id)
|
||||
:unknown-container)]
|
||||
(state/set-editing! (str "edit-block-" (:block/uuid block)) content block text-range {:container-id container-id}))
|
||||
(mark-last-input-time! repo)))
|
||||
|
||||
Reference in New Issue
Block a user