fix: Hashtag # with Chinese character doesn't trigger search

close #3283
This commit is contained in:
Tienson Qin
2021-11-26 22:09:38 +08:00
parent 91a76260ec
commit 453579affd

View File

@@ -2770,7 +2770,8 @@
shift? (.-shiftKey e)
code (gobj/getValueByKeys e "event_" "code")]
(cond
(or is-composing? (= key-code 229))
(and (or is-composing? (= key-code 229))
(not (state/get-editor-show-page-search-hashtag?)))
nil
(or ctrlKey metaKey)