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

Add Spell Checking (Option) in Plain Text Mode (Markdown) #6293

Open
jens-br opened this issue Jul 3, 2024 · 0 comments
Open

Add Spell Checking (Option) in Plain Text Mode (Markdown) #6293

jens-br opened this issue Jul 3, 2024 · 0 comments

Comments

@jens-br
Copy link

jens-br commented Jul 3, 2024

Currently, the plain text edit mode does not support spell checking:
grafik
The rich text edit mode already supports it:
grafik
It would be helpful if spellchecking could be activated in the plain text edit mode as well - at least as an option. :)

I guess the component used for this is in seahub/frontend/src/pages/plain-markdown-editor/index.js and https://github.com/haiwen/seahub/blob/master/frontend/src/pages/plain-markdown-editor/code-mirror.js
If I understand it correctly, the editor part of the view uses an underlying CodeMirror.
As a simple first solution, it should be possible to activate the browser-integrated spell checking for the CodeMirror by using the option spellcheck: "true" (c.f. codemirror/dev#63).

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

2 participants