Skip to content

Commit

Permalink
[docs] Fix typo in webview Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwang committed Jan 16, 2018
1 parent c29d9ba commit 2073074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/References/webview Tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ NW.js added the following methods besides upstream APIs:
* `show` `{boolean}` flag: open or close the devtools window
* `container` `{webview Element}` _Optional_ the element of the `<webview>` to be used to display devtools. By default, the DevTools is shown with a new window.

DevTools extensions can be used in the embedded webview. Just load them with `--load-extensions`. The container webview should be made trusted by adding an addtional `webview` section in the `manifest.json` of the extension and add a attribute `partition='trusted'` to the webview tag. See the example in [issue #6004](https://github.com/nwjs/nw.js/issues/6004)
DevTools extensions can be used in the embedded webview. Just load them with `--load-extensions`. The container webview should be made trusted by adding an addtional `webview` section in the `manifest.json` of the extension and add an attribute `partition='trusted'` to the webview tag. See the example in [issue #6004](https://github.com/nwjs/nw.js/issues/6004)
```json
"webview": {
"partitions": [
Expand Down

0 comments on commit 2073074

Please sign in to comment.