Browse Source

fix(paste): do not convert url to marco while raw pasting

situ2001 2 years ago
parent
commit
e0eb520dc3
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/main/frontend/handler/paste.cljs

+ 1 - 3
src/main/frontend/handler/paste.cljs

@@ -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)))