mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 桌面端和浏览器端支持英文拼写检查 https://github.com/siyuan-note/siyuan/issues/597
This commit is contained in:
parent
40bbc6cc98
commit
fc66472637
13 changed files with 29 additions and 3 deletions
|
|
@ -199,6 +199,8 @@ const boot = () => {
|
|||
mainWindow.webContents.userAgent = 'SiYuan/' + appVer +
|
||||
' https://b3log.org/siyuan Electron'
|
||||
|
||||
mainWindow.webContents.session.setSpellCheckerLanguages(['en-US'])
|
||||
|
||||
// 发起互联网服务请求时绕过安全策略 https://github.com/siyuan-note/siyuan/issues/5516
|
||||
mainWindow.webContents.session.webRequest.onBeforeSendHeaders(
|
||||
(details, cb) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue