Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持英文拼写检查 #597

Closed
2016201256 opened this issue Nov 29, 2020 · 13 comments
Closed

支持英文拼写检查 #597

2016201256 opened this issue Nov 29, 2020 · 13 comments
Assignees
Milestone

Comments

@2016201256
Copy link

你在什么场景下需要该功能? In what scenarios do you need this function?

使用英文输入时,能够检查英文拼写

描述最优的解决方案 Describe the optimal solution

在新建文件夹和新建文档命名时,输入英文会有拼写检查(错误拼写下方红色波浪线),希望编辑器中也有此功能。

描述候选解决方案 Describe the candidate solution

其他信息 Other information

@Vanessa219
Copy link
Member

@88250 不知是否需要一个配置项
image

@88250 88250 changed the title 英文拼写检查 English spell check Feb 27, 2021
@88250 88250 added the Feature label Feb 27, 2021
@88250 88250 changed the title English spell check Spell check Feb 27, 2021
@2016201256
Copy link
Author

再来顶顶, 期待这个功能呀

@H-tr
Copy link

H-tr commented Nov 26, 2021

现在有拼写检查吗?
我挺需要这个功能的,因为我主要整理课上的东西,然后它们都是英文的

@AugustTuan
Copy link

这个好

@88250 88250 changed the title Spell check 英文拼写检查 May 31, 2022
@mlzxy
Copy link

mlzxy commented Jun 11, 2022

发现一个在 Mac 下的语法/拼写检查解决方案:安装 Grammarly 的 Mac 客户端,这个客户端支持系统级别检查书写英语的拼写和语法,试了一下也支持 Siyuan。 下面是一个拼写检查截图:

image

可惜只能支持 Mac,而且必须要联网+可访问Grammarly的服务。

@88250
Copy link
Member

88250 commented Jun 11, 2022

@mlzxy 它如果是修改 DOM 的话可能有副作用。

@mlzxy
Copy link

mlzxy commented Jun 11, 2022

@mlzxy 它如果是修改 DOM 的话可能有副作用。

有道理,感谢提醒。

针对Grammarly这个应用应该不会,他调用 OSX Accessibility 的 API,我理解这个API的原理是通过模拟 keypress 事件来修改当前正在编辑的文字,因此能做到系统级别的语法错误修改。对于Siyuan,相当于都是用户侧的文字输入,不会修改 DOM。

当然我的理解可能有误,有对 OSX 开发熟悉的大佬欢迎指出问题。

@whzecomjm
Copy link

@88250 不知是否需要一个配置项 image

希望支持,且加一个配置项,能自定义词汇。

@hackerhui
Copy link

https://github.com/sajari/fuzzy
看到个轮子看看是否可以直接用

@88250 88250 changed the title 英文拼写检查 桌面端支持英文拼写检查 Dec 30, 2022
@88250 88250 changed the title 桌面端支持英文拼写检查 桌面端和浏览器端支持英文拼写检查 Dec 30, 2022
@88250 88250 added Enhancement and removed Feature labels Dec 30, 2022
@88250 88250 added this to the 2.6.1 milestone Dec 30, 2022
Vanessa219 added a commit that referenced this issue Dec 30, 2022
@88250 88250 changed the title 桌面端和浏览器端支持英文拼写检查 支持英文拼写检查 Dec 31, 2022
@88250 88250 closed this as completed Dec 31, 2022
@whzecomjm
Copy link

现在的拼写检查没有右键自动更改和用户词典功能吗?

@88250
Copy link
Member

88250 commented Jan 5, 2023

@whzecomjm 没有哦,估计支持不了,这个是 Electron 的接口,好像没有添加字典功能。

@Achuan-2
Copy link
Member

Achuan-2 commented Apr 5, 2024

想问问我没有开启设置里的拼写检查
怎么属性面板和设置面板输入文字的时候也会有下划线,能否关闭呢
环境:Win 11
Clip_2024-04-05_17-46-47

@88250
Copy link
Member

88250 commented Apr 5, 2024

@Vanessa219

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants