mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 01:16:27 +00:00
Raw paste should only do basic pasting
Fix #6815 and fix #6142.
Raw paste used to do this before #5396 was introduced.
We accidentally coupled rich and raw paste starting at
999defdad1 which then caused these issues
This commit is contained in:
committed by
Gabriel Horner
parent
1c3ef2ccb5
commit
72298d23c8
@@ -192,7 +192,7 @@
|
||||
(utils/getClipText
|
||||
(fn [clipboard-data]
|
||||
(when (state/get-input)
|
||||
(paste-text-or-blocks-aux input e clipboard-data nil)))
|
||||
(editor-handler/insert clipboard-data true)))
|
||||
(fn [error]
|
||||
(js/console.error error)))
|
||||
(let [clipboard-data (gobj/get e "clipboardData")
|
||||
|
||||
Reference in New Issue
Block a user