https://github.com/logseq/logseq/pull/3481 breaks the workflow that
insert a new timestamp in a block.
This commit is contained in:
leizhe
2021-12-21 20:03:43 +08:00
committed by Tienson Qin
parent 00394926ee
commit e9f4c501f2

View File

@@ -108,10 +108,10 @@
block-id (or (:block/uuid (state/get-edit-block))
(:block/uuid block))
typ (or @commands/*current-command typ)]
(state/clear-edit!)
(editor-handler/set-block-timestamp! block-id
typ
text)
(state/clear-edit!)
(when show?
(reset! show? false))))
(clear-timestamp!)