Skip to content

Commit 8ef525e

Browse files
committed
DOC-3257: Document spellchecker_language local storage override behavior.
1 parent 2af55aa commit 8ef525e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

modules/ROOT/partials/configuration/spellchecker_language.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,20 @@ tinymce.init({
1717
spellchecker_language: 'de' // Use ISO language code, hyphenated for regional variants (e.g., 'de-DE')
1818
});
1919
----
20+
21+
[NOTE]
22+
====
23+
If a user selects a language from the Spell Checker language toolbar dropdown, that selection is saved to the browser's local storage and takes precedence over the `+spellchecker_language+` configuration option. The local storage value persists across browser sessions and will continue to override the developer-specified setting.
24+
25+
*Debugging language issues:*
26+
27+
* To check the current active language for the specific device, use the browser console: `+tinymce.activeEditor.plugins.tinymcespellchecker.getLanguage()+`
28+
* If integrators or users are having issues with the `+spellchecker_language+` option not being respected, they can:
29+
30+
. Open browser developer tools (F12)
31+
. Go to the Console tab
32+
. Run `+localStorage.clear()+` to clear all local storage
33+
. Refresh the page to reinitialize the editor
34+
35+
For more information about localStorage, see link:https://developer.mozilla.org/en-US/docs/Web/API/Storage/clear[MDN Web Docs].
36+
====

0 commit comments

Comments
 (0)