electron/docs/fiddles
Will Anderson b6ff12ef7f
docs: update Quick Start Guide for Electron 12 (#28223)
* docs: Update Quick Start Guide for Electron 12

With `contextIsolation` enabled by default in Electron 12, the Getting Started Guide no longer works as it is written. In order for the basic example to display values from `process.versions`, we need to add a `preload.js` to the example.

* fix: annotate preload code block with a language

* docs: update quick-start Fiddle example to use preload to provide version info

* fix: ensure example files end in a newline

* docs: add security warning to instructions for turning off contextIsolation

Co-authored-by: John Kleinschmidt <jkleinsc@github.com>

* docs: treat preload as an adjective instead of a noun

Co-authored-by: John Kleinschmidt <jkleinsc@github.com>

Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
2021-03-16 19:45:38 -04:00
..
communication/two-processes refactor: prefer using app.whenReady() (#21972) 2020-02-03 22:43:22 +00:00
features docs: added fiddle support for code samples (#26501) 2020-11-30 16:48:39 +09:00
media/screenshot docs: remove references to remote from docs (#25416) 2020-09-14 10:36:54 -07:00
menus docs: minor grammar & spelling fixes (#22851) 2020-03-31 13:06:25 +09:00
native-ui Bump v12.0.0-nightly.20200827 2020-08-27 07:31:51 -07:00
quick-start docs: update Quick Start Guide for Electron 12 (#28223) 2021-03-16 19:45:38 -04:00
screen/fit-screen refactor: prefer using app.whenReady() (#21972) 2020-02-03 22:43:22 +00:00
system docs: minor grammar & spelling fixes (#22851) 2020-03-31 13:06:25 +09:00
windows docs: remove references to remote from docs (#25416) 2020-09-14 10:36:54 -07:00