mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 18:06:32 +00:00
cleanup: frontend.commands
This commit is contained in:
@@ -833,7 +833,7 @@
|
||||
[new-content marker] (marker/cycle-marker content format (state/get-preferred-workflow))
|
||||
new-content (string/triml new-content)]
|
||||
(let [new-pos (commands/compute-pos-delta-when-change-marker
|
||||
current-input content new-content marker (cursor/pos current-input))]
|
||||
content marker (cursor/pos current-input))]
|
||||
(state/set-edit-content! edit-input-id new-content)
|
||||
(cursor/move-cursor-to current-input new-pos)))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user