sphericalpm / lektor-simplemde

Plugin integrating SimpleMDE into Lektor admin
MIT License
14 stars 1 forks source link

Disabled Spell-check for other languages #2

Open mountainash opened 4 years ago

mountainash commented 4 years ago

Firstly: thank you for the awesome plugin (and linking me to SimpleMDE - it makes Markdown so much easier to use [and it's already easy]).

One of the great features of Lektor is it's out-of-the-box multi language support, but SimpleMDE seems to be hardcoded to only spellcheck against an English-US dictionary.

Would it be possible to disable the spellcheck?

It would be cool if this could be done based on the "Alternative" currently being edited (don't spellcheck if not 'en'), but maybe it's simpler just to disable it entirely?

mountainash commented 4 years ago

Linking in https://github.com/sparksuite/simplemde-markdown-editor/issues/658 - maybe when there's an outcome for that - this plugin could support multiple languages.

apatrushev commented 4 years ago

We will implement an option to disable spellcheck (and may be apply other possible options of SimpleMDE). Thank you!

mountainash commented 4 years ago

Ahh great. I think some of the tab/space options would be good to override - but otherwise, most of the defaults make sense (at the moment - I guess it would be good to set them, incase the defaults change).