In my ruby code on Sketchup 2020 and 2021, I use a HtmlDialog. User fill text inside text. area but autocorrectioj are ni english.
How set up the language of chrome inside the HtmlDialog ?
Perhaps you could try to start like this:
thanks I will try it
I’m not sure, but have you tried the
Referring to the linked topic thread, we see that this will not work …
You can change the language using
setAttribute('lang', lang)but Chrome doesn’t use the
langattribute for spellcheck. This is a won’t fix issue [for Chromium].
The post goes on to explain that the choice of spellcheck language is an end-user right click context menu feature. Users can create multiple custom spellcheck dictionaries and switch between them at will.
The post author also shows in his example the use of the global “spellcheck” HTML attribute.
Lastly he gives links to 3rd party libraries for spellchecking …
Sorry for the late reply. I’m on MAC and i’m not able to reproduce the problème on it. I will check it as soon as possible.