π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π Enables copy-to-clipboard for sites running in iframe modal / widget (#1207)
Alicia Sykesd469672527c0
diff --git a/src/components/LinkItems/IframeModal.vue b/src/components/LinkItems/IframeModal.vueindex c2706957..c614a8aa 100644--- a/src/components/LinkItems/IframeModal.vue+++ b/src/components/LinkItems/IframeModal.vue@@ -3,7 +3,8 @@classes="dashy-modal"><div slot="top-right" @click="hide()">Close</div><a @click="hide()" class="close-button" title="Close">x</a>- <iframe v-if="url" :src="url" @keydown.esc="close" class="frame" allow="fullscreen" />+ <iframe v-if="url" :src="url" @keydown.esc="close" class="frame"+ allow="fullscreen; clipboard-write" /><div v-else class="no-url">No URL Specified</div></modal></template>diff --git a/src/components/Widgets/IframeWidget.vue b/src/components/Widgets/IframeWidget.vueindex da04445c..5c5f7b71 100644--- a/src/components/Widgets/IframeWidget.vue+++ b/src/components/Widgets/IframeWidget.vue@@ -5,6 +5,7 @@:src="frameUrl":id="frameId"title="Iframe Widget"+ allow="fullscreen; clipboard-write":style="frameHeight ? `height: ${frameHeight}px` : ''"/></div>diff --git a/src/components/Workspace/WebContent.vue b/src/components/Workspace/WebContent.vueindex 69cc2832..63d5e535 100644--- a/src/components/Workspace/WebContent.vue+++ b/src/components/Workspace/WebContent.vue@@ -1,6 +1,6 @@<template><div class="web-content" :id="id">- <iframe :src="url" allow="fullscreen" />+ <iframe :src="url" allow="fullscreen; clipboard-write" /></div></template>