From b59c033f8889cd3dddb1c89bdadd860ca3b498fc Mon Sep 17 00:00:00 2001 From: Arindam Sahoo Date: Wed, 3 Jun 2026 16:31:16 +0530 Subject: [PATCH] feat: Enable webviewTag in Electron main window This commit enables the `webviewTag` option in the `webPreferences` for the main Electron window. Enabling `webviewTag` allows the application to use the `` tag in the renderer process. This is essential for securely embedding external web content, providing isolated browsing contexts within the application. --- electron/main.cts | 1 + 1 file changed, 1 insertion(+) diff --git a/electron/main.cts b/electron/main.cts index e853441..21420e9 100644 --- a/electron/main.cts +++ b/electron/main.cts @@ -167,6 +167,7 @@ function createWindow() { webPreferences: { nodeIntegration: false, contextIsolation: true, + webviewTag: true, preload: path.join(__dirname, 'preload.cjs') } });