mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: inline namespace tag editing
This commit is contained in:
@@ -3756,15 +3756,14 @@
|
||||
(select-all-blocks! {})))))))
|
||||
|
||||
(defn escape-editing
|
||||
([]
|
||||
(escape-editing true))
|
||||
([select?]
|
||||
(p/do!
|
||||
(save-current-block!)
|
||||
(if select?
|
||||
(when-let [node (some-> (state/get-input) (util/rec-get-node "ls-block"))]
|
||||
(state/exit-editing-and-set-selected-blocks! [node]))
|
||||
(state/clear-edit!)))))
|
||||
[& {:keys [select? save-block?]
|
||||
:or {save-block? true}}]
|
||||
(p/do!
|
||||
(when save-block? (save-current-block!))
|
||||
(if select?
|
||||
(when-let [node (some-> (state/get-input) (util/rec-get-node "ls-block"))]
|
||||
(state/exit-editing-and-set-selected-blocks! [node]))
|
||||
(state/clear-edit!))))
|
||||
|
||||
(defn replace-block-reference-with-content-at-point
|
||||
[]
|
||||
|
||||
Reference in New Issue
Block a user