mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
fix: copy paste
This commit is contained in:
@@ -2896,10 +2896,9 @@
|
||||
(or (seq copied-block-ids)
|
||||
(seq (:copy/full-blocks copied-blocks)))
|
||||
text
|
||||
(or (:copy/content copied-blocks) "")
|
||||
;; not copied from the external clipboard
|
||||
(= (string/replace (string/trim text) "\r" "")
|
||||
(string/replace (string/trim (:copy/content copied-blocks)) "\r" "")))
|
||||
(string/replace (string/trim (or (:copy/content copied-blocks) "")) "\r" "")))
|
||||
(let [blocks (or
|
||||
(:copy/full-blocks copied-blocks)
|
||||
(get-all-blocks-by-ids (state/get-current-repo) copied-block-ids))]
|
||||
|
||||
Reference in New Issue
Block a user