mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 01:16:27 +00:00
Add test for raw url paste fix
This commit is contained in:
committed by
Gabriel Horner
parent
e0eb520dc3
commit
e8dd8a679e
@@ -197,9 +197,8 @@
|
||||
(if raw-paste?
|
||||
(utils/getClipText
|
||||
(fn [clipboard-data]
|
||||
(when-let [_ (state/get-input)]
|
||||
(let [text clipboard-data]
|
||||
(paste-text-or-blocks-aux input e text nil))))
|
||||
(when (state/get-input)
|
||||
(paste-text-or-blocks-aux input e clipboard-data nil)))
|
||||
(fn [error]
|
||||
(js/console.error error)))
|
||||
(let [clipboard-data (gobj/get e "clipboardData")
|
||||
|
||||
Reference in New Issue
Block a user