mirror of
https://github.com/logseq/logseq.git
synced 2026-05-25 13:14:39 +00:00
feat: copy image button
This commit is contained in:
committed by
Andelf
parent
b70648feaf
commit
bed385e46b
@@ -309,6 +309,13 @@
|
||||
)))}
|
||||
(ui/icon "trash")]
|
||||
|
||||
[:button.asset-action-btn
|
||||
{:title "Copy image"
|
||||
:on-click
|
||||
(fn [e]
|
||||
(util/stop e))}
|
||||
(ui/icon "copy")]
|
||||
|
||||
[:button.asset-action-btn
|
||||
{:title "Maximize image"
|
||||
:on-click (fn [^js e] (let [images (js/document.querySelectorAll ".asset-container img")
|
||||
|
||||
Reference in New Issue
Block a user