I’m building a text editor using Electron and I can’t seem to get spellcheck=“true” to work. It works in Chrome (when you right-click a word in a contenteditable div it opens a context menu with the spell checker), so I know the feature is supported by the engine (it also works in the form here as I’m typing this.), but it doesn’t seem to work in Electron. I’ve searched the docs and the web, but I can’t find any info. Anyone know whether native context menus are supported? And if so, how do I enable it? Thanks.
Electron is built on top of libchromiumcontent. This means that Electron doesn’t have all of Chromium in it, let alone all of Chrome itself. Spell check is one of the features that was left out. From the Chromium Content website:
As an example, here’s a (non-exhaustive) list of features that are Chrome only, and so are not in content. This means that content code shouldn’t have to know anything about them, only providing generic APIs that they can be built upon.
- Safe Browsing
Ah, phooey! OK, I appreciate your response.