feat(webview): allow popups (closes #5698)

This commit is contained in:
Elian Doran 2025-07-05 22:31:04 +03:00
parent b566a188dc
commit fe678230a8
No known key found for this signature in database

View file

@ -20,7 +20,7 @@ const TPL = /*html*/`
function buildElement() {
if (!utils.isElectron()) {
return `<iframe class="note-detail-web-view-content" sandbox="allow-same-origin allow-scripts"></iframe>`;
return `<iframe class="note-detail-web-view-content" sandbox="allow-same-origin allow-scripts allow-popups"></iframe>`;
} else {
return `<webview class="note-detail-web-view-content"></webview>`;
}