Skip to content

Commit

Permalink
Fixed webview docs electron#34678
Browse files Browse the repository at this point in the history
  • Loading branch information
ASAD2723 committed Jan 21, 2023
1 parent cdb65c1 commit e2bcad2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/api/webview-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ or an architecture that avoids embedded content altogether.
## Enabling

By default the `webview` tag is disabled in Electron >= 5. You need to enable the tag by
setting the `webviewTag` webPreferences option when constructing your `BrowserWindow`. For
more information see the [BrowserWindow constructor docs](browser-window.md).
setting the `webviewTag` webPreferences option when constructing your `BrowserWindow`.
webview's new-window event will not be triggered when you click a new url with the latest update,
As new-window event on webview is deprecated, [Web View Content](web-contents.md).
"If you need new-window event you can switch back to ELECTRON VERSION:10.4.7"
For more information see the [BrowserWindow constructor docs](browser-window.md).



## Overview

Expand Down

0 comments on commit e2bcad2

Please sign in to comment.