拼写检查器
对于 Electron 9 及以上,默认启用拼写检查器。 For Electron 8 you need to enable it in .
对于 Windows 和 Linux,你应该使用一些 Electron API 来设置拼写检查器的语言。
All the required information to generate a context menu is provided in the event on each instance. 下面提供了一个小的示例,如何用此信息制作上下文菜单。
Check out the docs for for more information on where to get the dictionary files from and how you need to host them.