mirror of https://github.com/logseq/logseq
enhance(commands): jump out of the ending curly brackets when
embedding page or blockpull/2802/head
parent
d5d7c1f007
commit
49ab36ce30
|
@ -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)
|
||||
|
|
|
@ -610,7 +610,8 @@
|
|||
format
|
||||
{:last-pattern (str "[[" (if @editor-handler/*selected-text "" q))
|
||||
:end-pattern "]]"
|
||||
:postfix-fn (fn [s] (util/replace-first "]]" s ""))}))))))
|
||||
:postfix-fn (fn [s] (util/replace-first "]]" s ""))
|
||||
:forward-pos 3}))))))
|
||||
|
||||
(defn create-today-journal!
|
||||
[]
|
||||
|
|
Loading…
Reference in New Issue