docs: Update docs for keyboard shortcuts (#29207)
* Update docs for keyboard shortcuts * Add a fiddle for web-apis * Apply suggestions from code review Co-authored-by: Erick Zhao <erick@hotmail.ca> * Cleanup a few formatting errors and missed copies * Add descriptions to index.html * Focus on renderer Co-authored-by: Erick Zhao <erick@hotmail.ca>
This commit is contained in:
parent
241cceb2c9
commit
77e7d828ee
10 changed files with 73 additions and 26 deletions
|
@ -7,10 +7,6 @@
|
|||
</head>
|
||||
<body>
|
||||
<h1>Hello World!</h1>
|
||||
<p>
|
||||
We are using node <script>document.write(process.versions.node)</script>,
|
||||
Chrome <script>document.write(process.versions.chrome)</script>,
|
||||
and Electron <script>document.write(process.versions.electron)</script>.
|
||||
</p>
|
||||
<p>Hit Alt+Shift+I on Windows, or Opt+Cmd+I on mac to see a message printed to the console.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -4,9 +4,6 @@ function createWindow () {
|
|||
const win = new BrowserWindow({
|
||||
width: 800,
|
||||
height: 600,
|
||||
webPreferences: {
|
||||
nodeIntegration: true
|
||||
}
|
||||
})
|
||||
|
||||
win.loadFile('index.html')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue