diff --git a/docs/api/breaking-changes.md b/docs/api/breaking-changes.md index cf1a740bd650..d8041ab8965b 100644 --- a/docs/api/breaking-changes.md +++ b/docs/api/breaking-changes.md @@ -106,6 +106,16 @@ The following `webPreferences` option default values are deprecated in favor of | `nodeIntegration` | `true` | `false` | | `webviewTag` | `nodeIntegration` if set else `true` | `false` | +E.g. Re-enabling the webviewTag + +```js +const w = new BrowserWindow({ + webPreferences: { + webviewTag: true + } +}) +``` + ### `nativeWindowOpen` Child windows opened with the `nativeWindowOpen` option will always have Node.js integration disabled.