mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 10:56:32 +00:00
fix: cannot delete hashtag
This commit is contained in:
@@ -2059,7 +2059,9 @@
|
||||
|
||||
;; deleting hashtag
|
||||
(and (= deleted "#") (state/get-editor-show-page-search-hashtag?))
|
||||
(state/set-editor-show-page-search-hashtag! false)
|
||||
(do
|
||||
(state/set-editor-show-page-search-hashtag! false)
|
||||
(.setRangeText input "" (dec current-pos) current-pos))
|
||||
|
||||
;; just delete
|
||||
:else
|
||||
|
||||
Reference in New Issue
Block a user