mirror of https://github.com/logseq/logseq
fix: make sure container-id exists for now
parent
29de339fa1
commit
3ac1f3ca64
|
@ -176,7 +176,8 @@
|
||||||
(when block
|
(when block
|
||||||
(state/clear-edit!)
|
(state/clear-edit!)
|
||||||
(let [container-id (or container-id
|
(let [container-id (or container-id
|
||||||
@(:editor/container-id @state/state))]
|
@(:editor/container-id @state/state)
|
||||||
|
:unknown-container)]
|
||||||
(state/set-editing! (str "edit-block-" (:block/uuid block)) content block text-range {:container-id container-id}))
|
(state/set-editing! (str "edit-block-" (:block/uuid block)) content block text-range {:container-id container-id}))
|
||||||
(mark-last-input-time! repo)))
|
(mark-last-input-time! repo)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue