preventDefault event

This commit is contained in:
leizhe
2022-01-05 10:55:46 +08:00
committed by Andelf
parent 51ce3c4cf7
commit 22b1bf994c

View File

@@ -3139,7 +3139,8 @@
input (state/get-input)]
(if-not (string/blank? text)
(if (thingatpt/org-admonition&src-at-point input)
(paste-text-in-one-block-at-point)
(do (util/stop e)
(paste-text-in-one-block-at-point))
(paste-text text e))
(let [_handled
(let [clipboard-data (gobj/get e "clipboardData")