mirror of https://github.com/logseq/logseq
fix: cannot delete hashtag
parent
17084af429
commit
8c8161dcb2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue