fix: inline namespace tag editing

This commit is contained in:
Tienson Qin
2024-09-15 11:57:53 +08:00
parent b1a9e9ae30
commit a47608e953
7 changed files with 34 additions and 25 deletions

View File

@@ -32,7 +32,7 @@
(defn- search
[mode]
(editor-handler/escape-editing true)
(editor-handler/escape-editing {:select? true})
(if (state/get-search-mode)
(js/setTimeout #(route-handler/go-to-search! mode) 128)
(route-handler/go-to-search! mode)))
@@ -462,7 +462,7 @@
:command/run {:binding "mod+shift+1"
:inactive (not (util/electron?))
:fn #(do
(editor-handler/escape-editing true)
(editor-handler/escape-editing {:select? true})
(state/pub-event! [:command/run]))}
:go/home {:binding "g h"