mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
fix: add default copy behavior
This commit is contained in:
@@ -2552,7 +2552,10 @@
|
||||
selected-end (.-selectionEnd input)]
|
||||
(if (= selected-start selected-end)
|
||||
(copy-current-block-ref)
|
||||
(js/document.execCommand "copy"))))))
|
||||
(js/document.execCommand "copy")))
|
||||
|
||||
:else
|
||||
(js/document.execCommand "copy"))))
|
||||
|
||||
|
||||
(defn shortcut-cut
|
||||
|
||||
Reference in New Issue
Block a user