mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 07:05:10 +00:00
fix: code not saved when click the bottom line to add a new block
related to #5406
This commit is contained in:
@@ -168,6 +168,7 @@
|
||||
new-content (if (string/blank? value)
|
||||
(str prefix surfix)
|
||||
(str prefix value "\n" surfix))]
|
||||
(state/set-edit-content! (state/get-edit-input-id) new-content)
|
||||
(editor-handler/save-block-if-changed! block new-content))
|
||||
|
||||
(:file-path config)
|
||||
|
||||
Reference in New Issue
Block a user