fix: don't trigger commands auto-complete when paste

This commit is contained in:
Tienson Qin
2021-09-26 11:14:06 +08:00
parent ad5b4e0d44
commit 4e44d9839b
4 changed files with 26 additions and 21 deletions

View File

@@ -2831,6 +2831,7 @@
(defn editor-on-paste!
[id]
(fn [e]
(state/set-state! :editor/on-paste? true)
(if-let [handled
(let [pick-one-allowed-item
(fn [items]