mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
enhance(commands): jump out of the ending curly brackets when
embedding page or block
This commit is contained in:
@@ -1937,7 +1937,8 @@
|
||||
format
|
||||
{:last-pattern (str "((" (if @*selected-text "" q))
|
||||
:end-pattern "))"
|
||||
:postfix-fn (fn [s] (util/replace-first "))" s ""))})
|
||||
:postfix-fn (fn [s] (util/replace-first "))" s ""))
|
||||
:forward-pos 3})
|
||||
|
||||
;; Save it so it'll be parsed correctly in the future
|
||||
(set-block-property! (:block/uuid chosen)
|
||||
|
||||
Reference in New Issue
Block a user