Layout.spellcheckDefault

From MozillaZine Knowledge Base
Revision as of 23:29, 16 October 2006 by Unarmed (talk | contribs) (Camino default; remove "doesn't work in an official Firefox release" caveat)
Jump to navigationJump to search

Background

Several Mozilla products have access to spell checking functionality. A recent patch allows this functionality to work in HTML text editing controls. The spell check function, when active, is accessible via the context menu of the text box.

For spell checking to work, the user must have the appropriate dictionary files installed.

This preference allows the spell check function to be enabled or disabled for multi-line and/or single-line edit controls, and supersedes layout.textarea.spellcheckDefault.

Possible values and their effects

0

Disable spellchecker.

1

Enable spellchecker for multi-line controls (e.g., <textarea>s). (Default in Firefox)

2

Enable spellchecker for multi-line controls and single-line controls. (Default in Camino)

Caveats

  • The dictionary used is dependent on the preference spellchecker.dictionary. If that preference is not set, you will be prompted to choose a dictionary each time you access the spell checker.

First checked in

2006-02-08 by Boris Zbarsky

Has an effect in

  • Mozilla Firefox (trunk builds after 2006-02-08; 2.0b1 and above)
  • Camino (trunk builds after 2006-06-03; 1.1)

Related bugs

Related preferences

External links