mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 11:26:26 +00:00
Address comment. Thanks Junyi
This commit is contained in:
@@ -554,7 +554,7 @@
|
||||
(count (util/safe-re-find re-pattern prefix))))
|
||||
new-value (str (subs edit-content 0 pos)
|
||||
(string/replace-first (subs edit-content pos)
|
||||
(marker/marker-pattern)
|
||||
(marker/marker-pattern format)
|
||||
(str marker " ")))]
|
||||
(state/set-edit-content! input-id new-value)
|
||||
(let [new-pos (compute-pos-delta-when-change-marker
|
||||
|
||||
Reference in New Issue
Block a user