Welcome to Vanilla Breeze
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
Enable or disable browser spell-checking on editable content. Disable it for code editors, technical identifiers, and fields where red underlines create noise.
The spellcheck attribute controls whether the browser runs its built-in spell-checker on editable content. When enabled, misspelled words are underlined (typically with a red wavy line), and the user can right-click to see suggestions.
Applies to: <input> (text types), <textarea>, and any element with contenteditable
| Value | Behavior |
|---|---|
true | Spell-checking is enabled. Misspelled words are underlined. |
false | Spell-checking is disabled. No underlines appear. |
| (not set) | Inherits from the parent element. If no ancestor sets it, the browser uses its default (typically enabled for textareas and contenteditable, varies for inputs). |
<!-- Enable spell-checking (the default for most text inputs) --><textarea spellcheck="true" rows="4">Check my speling here.</textarea> <!-- Disable spell-checking --><textarea spellcheck="false" rows="4">const x = myFunc();</textarea>
The default spell-checker works well for prose, but it creates visual noise on content that is not natural language. Disable it for:
WX-4829-BLK[email protected] trigger underlines<!-- Code input: disable spellcheck to avoid red underlines on syntax --><label for="css-input">Custom CSS</label><textarea id="css-input" spellcheck="false" rows="6" placeholder=".my-class { color: rebeccapurple; }"></textarea> <!-- Username field: proper nouns and handles are not dictionary words --><label for="handle">Username</label><input type="text" id="handle" spellcheck="false" autocomplete="username" />
The spellcheck attribute inherits from parent elements. Set it on a container to control all editable descendants at once, then override on individual fields as needed.
<!-- Parent sets spellcheck="false", children inherit it --><form spellcheck="false"> <label for="sku">Product SKU</label> <input type="text" id="sku" /> <label for="serial">Serial Number</label> <input type="text" id="serial" /> <!-- Override: enable spellcheck on just the description --> <label for="desc">Description</label> <textarea id="desc" spellcheck="true" rows="3"></textarea></form>
Spell-checking also works on elements with contenteditable. This is particularly useful for rich text editors where you want spell-checking on prose but not on embedded code blocks.
<!-- Spellcheck on a contenteditable region --><div contenteditable="true" spellcheck="true"> Type here and misspelled wrods will be underlined.</div> <!-- Code block: no spell-checking --><pre contenteditable="true" spellcheck="false"><code>function greet(name) { return `Hello, ${name}!`;}</code></pre>
spellcheck="false" on the entire page removes a useful writing aid.contenteditable — make any element editableautocorrect — control automatic text correction on mobileautocapitalize — control automatic capitalization on mobile keyboardslang — declare the language so the browser uses the correct dictionary