Merge branch 'feat/outliner-core' of github.com:logseq/logseq into feat/outliner-core

pull/1686/head
Tienson Qin 2021-04-18 21:37:04 +08:00
commit 2fceab4d81
1 changed files with 3 additions and 1 deletions

View File

@ -2077,7 +2077,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