File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -413,7 +413,9 @@ const BoostHubWebview = ({
413413 tabIndex = { - 1 }
414414 useragent = { boostHubWebViewUserAgent }
415415 preload = { boostHubPreloadUrl }
416- webpreferences = 'contextIsolation=no'
416+ // Electron's webview tag uses a BrowserWindow-style feature string.
417+ // Keep contextIsolation off (existing behavior) and enable spellcheck.
418+ webpreferences = 'contextIsolation=no,spellcheck=yes'
417419 />
418420 </ Container >
419421 )
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ export function createAWindow(
3232 nodeIntegration : true ,
3333 webSecurity : ! dev ,
3434 webviewTag : true ,
35+ // Ensure Chromium's spellchecker is available to renderer/webviews.
36+ // The editor still controls actual usage via `spellcheck` attributes/settings.
37+ spellcheck : true ,
3538 enableRemoteModule : true ,
3639 contextIsolation : false ,
3740 preload : dev
You can’t perform that action at this time.
0 commit comments