mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
Fix tag completion at start of line or whitespace before cursor
This commit is contained in:
@@ -2758,7 +2758,7 @@
|
||||
(do (util/stop e)
|
||||
(autopair input-id key format nil))
|
||||
|
||||
(and hashtag? (re-find #"\s+$" value))
|
||||
(and hashtag? (or (zero? pos) (re-matches #"\s" (get value (dec pos)))))
|
||||
(do
|
||||
(commands/handle-step [:editor/search-page-hashtag])
|
||||
(if (= key "#")
|
||||
|
||||
Reference in New Issue
Block a user