hackmd-io-issues icon indicating copy to clipboard operation
hackmd-io-issues copied to clipboard

HackMD spell check language inconsistent with browser settings

Open linuxtim opened this issue 4 years ago • 5 comments

Is this a hackmd.io issue?

  • [X] Yes, the bug happens on https://hackmd.io

What's the problem

Incorrect spell check language / no option to set spell check language for document

Current behaviour

My spell check language is defaulting to English (US), and there doesn't seem to be a way to change this (my browser is sending the Accept-Language: en-GB,en;q=0.5 in request headers).

Provide steps to reproduce:

  1. Set browser language preference to prefer a different language
  2. Type a string with a non en-US spelling e.g. color colour

Expected behaviour

Select a spell check dictionary based on users' browser preferences. Optionally allow the owner to set a document-wide preference.

Environment

I use HackMD on:

Desktop

  • OS: Linux
  • Browser: Firefox
  • Browser Version: 75.0

Additional context

Add any other context about the problem here.

linuxtim avatar Apr 15 '20 18:04 linuxtim

TBH, I struggled to find where the spell checker is, it took me some time to find it as I was expecting to see it on the top toolbar not on the small status bar.

What is worse is that I see no option to add words to exclude, making it really annoying to use.

ssbarnea avatar Dec 09 '20 10:12 ssbarnea

Hi guys, thanks for keeping this issue in track. Our current editor can't support browser built-in spellcheck, need to wait for the next generation editor supports. We will list this as known issue.

jackycute avatar Jan 21 '21 05:01 jackycute

Hi, could I ask where the spellchecker is? Like could someone provide a screenshot? I cant seem to find it and I've been googling and scanning through issues for quite a while now.

Thanks.

Brin-o avatar Jan 17 '22 10:01 Brin-o

@Brin-o finding the spell checker is the first challenge, indeed. Its the tiny check mark in the editor footer bar to the right. Screenshot from 2022-01-27 14-27-04

The option to change to another language than (US) English would be highly appreciated!

Echsecutor avatar Jan 27 '22 13:01 Echsecutor

I'd also really appreciate an option to change to another language, or for the editor to respect the browser default.

edwinlock avatar Oct 28 '23 19:10 edwinlock