isSpellcheckEnabledForMode
Resolves a SpellcheckMode against the Obsidian settings.
Import:
import { isSpellcheckEnabledForMode } from 'obsidian-dev-utils/obsidian/obsidian-settings';Signature:
function isSpellcheckEnabledForMode(app: App, spellcheckMode: SpellcheckMode): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
app | App | The Obsidian app instance. |
spellcheckMode | SpellcheckMode | The mode to resolve. |
Returns: boolean — Whether the input should be spell-checked.