seahub icon indicating copy to clipboard operation
seahub copied to clipboard

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

Open jens-br opened this issue 7 months ago • 0 comments

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. https://github.com/codemirror/dev/issues/63).

jens-br avatar Jul 03 '24 13:07 jens-br