mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 01:16:27 +00:00
fix(paste): do not convert url to marco while raw pasting
This commit is contained in:
@@ -198,9 +198,7 @@
|
||||
(utils/getClipText
|
||||
(fn [clipboard-data]
|
||||
(when-let [_ (state/get-input)]
|
||||
(let [text (or (when (gp-util/url? clipboard-data)
|
||||
(wrap-macro-url clipboard-data))
|
||||
clipboard-data)]
|
||||
(let [text clipboard-data]
|
||||
(paste-text-or-blocks-aux input e text nil))))
|
||||
(fn [error]
|
||||
(js/console.error error)))
|
||||
|
||||
Reference in New Issue
Block a user