feat: copy image button

This commit is contained in:
Konstantinos Kaloutas
2022-08-31 12:27:53 +03:00
committed by Andelf
parent b70648feaf
commit bed385e46b

View File

@@ -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")