mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 16:36:27 +00:00
fix(editor): copy with both plain and rich text
This commit is contained in:
@@ -126,5 +126,6 @@
|
||||
[:div.mt-4
|
||||
(ui/button (if @copied? "Copied to clipboard!" "Copy to clipboard")
|
||||
:on-click (fn []
|
||||
(util/copy-to-clipboard! content (= type :html))
|
||||
(util/copy-to-clipboard! content (when (= type :html)
|
||||
content))
|
||||
(reset! copied? true)))]]))
|
||||
|
||||
Reference in New Issue
Block a user