mirror of
https://github.com/zadam/trilium.git
synced 2025-10-08 22:49:12 +08:00
feat(webview): allow popups (closes #5698)
This commit is contained in:
parent
b566a188dc
commit
fe678230a8
1 changed files with 1 additions and 1 deletions
|
@ -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>`;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue