fix: lint warnings

This commit is contained in:
Tienson Qin
2022-06-16 04:21:03 +08:00
parent 807beb2586
commit a59a7d9643

View File

@@ -171,8 +171,6 @@
(js/console.error error)))
(let [clipboard-data (gobj/get e "clipboardData")
html (when-not raw-paste? (.getData clipboard-data "text/html"))
edit-block (state/get-edit-block)
format (or (:block/format edit-block) :markdown)
text (.getData clipboard-data "text")]
(if-not (string/blank? text)
(paste-text-or-blocks-aux input e text html)