Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

How to get Spellcheck to check single-line entries?

  • 3 réponses
  • 1 a ce problème
  • 5 vues
  • Dernière réponse par cor-el

more options

I recently had to create a new profile to fix a problem with my old FF. But now the new profile, being new, does not spellcheck single-line entries (as in the "question" above.) But does spellcheck text entry boxes (such as the one I am typing in right now.)

I know there is an about:config parameter change to make this happen, but I can't find it documented anywhere. Is there an about:config document? Failing that can someone tell me what change I need to make?

layout.spellcheckDefault;1

I recently had to create a new profile to fix a problem with my old FF. But now the new profile, being new, does not spellcheck single-line entries (as in the "question" above.) But does spellcheck text entry boxes (such as the one I am typing in right now.) I know there is an about:config parameter change to make this happen, but I can't find it documented anywhere. Is there an about:config document? Failing that can someone tell me what change I need to make? layout.spellcheckDefault;1

Solution choisie

The unofficial MozillaZine site has great documentation on many of the preferences in about:config. For that one:

http://kb.mozillazine.org/Layout.spellcheckDefault

So this should work:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste SPEL and pause while the list is filtered

(3) Double-click the layout.spellcheckDefault preference and change it from 1 to 2 to spell check single-line controls as well as multi-line controls.

Note: this should turn spell checking on by default, but sites can still turn it off.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (3)

more options

Solution choisie

The unofficial MozillaZine site has great documentation on many of the preferences in about:config. For that one:

http://kb.mozillazine.org/Layout.spellcheckDefault

So this should work:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste SPEL and pause while the list is filtered

(3) Double-click the layout.spellcheckDefault preference and change it from 1 to 2 to spell check single-line controls as well as multi-line controls.

Note: this should turn spell checking on by default, but sites can still turn it off.

more options

Thanks for the quick response.

more options

Note that you can also find helpful comments in the Firefox source code for a lot of prefs.

876 // this will automatically enable inline spellchecking (if it is available) for
877 // editable elements in HTML
878 // 0 = spellcheck nothing
879 // 1 = check multi-line controls [default]
880 // 2 = check multi/single line controls
881 pref("layout.spellcheckDefault", 1);