Merge pull request #364 from AlphaX-Qortal/master

Fix copy to clipboard in iframe
This commit is contained in:
AlphaX
2025-03-20 11:52:49 +01:00
committed by GitHub

View File

@@ -265,7 +265,7 @@ class WebBrowser extends LitElement {
${this.renderFollowUnfollowButton()}
</div>
<div class="iframe-container">
<iframe id="browser-iframe" src="${this.url}" sandbox="allow-scripts allow-same-origin allow-forms allow-downloads allow-modals" allow="fullscreen">
<iframe id="browser-iframe" src="${this.url}" sandbox="allow-scripts allow-same-origin allow-forms allow-downloads allow-modals" allow="fullscreen; clipboard-read; clipboard-write;">
<span style="color: var(--black);">${translate('browserpage.bchange6')}</span>
</iframe>
</div>