Electron isn't an editing component, it's the combination of Node and Chromium that sits under VS Code and Atom and a whole bunch of other apps, many of which have nothing to do with text editing.
Sorry if there was a misunderstanding, I've seen a lot of people who seem to think that Electron is the "text editor" and that Atom and VS Code are just different "shells" built on top of it with Github and Microsoft branding.