SpellChecker

    对于Electron 9及以上,默认情况下启用拼写检查器。 对于Electron 8,您需要在 中启用它。

    对于Windows和Linux,您应该使用一些Electron API来设置拼写检查器的语言。

    生成上下文菜单所需的所有信息都在 每个事件 实例中提供。 下面提供了一个小的示例 用此信息制作上下文菜单。

    Check out the docs for for more information on where to get the dictionary files from and how you need to host them.