From 8ef525ef126e2e37d8a6d8c2a506dadb6e30f6cb Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Thu, 7 Aug 2025 14:22:26 +1000 Subject: [PATCH 1/2] DOC-3257: Document spellchecker_language local storage override behavior. --- .../configuration/spellchecker_language.adoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/modules/ROOT/partials/configuration/spellchecker_language.adoc b/modules/ROOT/partials/configuration/spellchecker_language.adoc index 7161900fc3..9197d27696 100644 --- a/modules/ROOT/partials/configuration/spellchecker_language.adoc +++ b/modules/ROOT/partials/configuration/spellchecker_language.adoc @@ -17,3 +17,20 @@ tinymce.init({ spellchecker_language: 'de' // Use ISO language code, hyphenated for regional variants (e.g., 'de-DE') }); ---- + +[NOTE] +==== +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. + +*Debugging language issues:* + +* To check the current active language for the specific device, use the browser console: `+tinymce.activeEditor.plugins.tinymcespellchecker.getLanguage()+` +* If integrators or users are having issues with the `+spellchecker_language+` option not being respected, they can: + +. Open browser developer tools (F12) +. Go to the Console tab +. Run `+localStorage.clear()+` to clear all local storage +. Refresh the page to reinitialize the editor + +For more information about localStorage, see link:https://developer.mozilla.org/en-US/docs/Web/API/Storage/clear[MDN Web Docs]. +==== \ No newline at end of file From 4108555836d483acd1527d274464b5766d2a7fcd Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Wed, 13 Aug 2025 11:53:55 +1000 Subject: [PATCH 2/2] Update modules/ROOT/partials/configuration/spellchecker_language.adoc Co-authored-by: tiny-ben-tran --- modules/ROOT/partials/configuration/spellchecker_language.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/partials/configuration/spellchecker_language.adoc b/modules/ROOT/partials/configuration/spellchecker_language.adoc index 9197d27696..2081b41c08 100644 --- a/modules/ROOT/partials/configuration/spellchecker_language.adoc +++ b/modules/ROOT/partials/configuration/spellchecker_language.adoc @@ -20,7 +20,7 @@ tinymce.init({ [NOTE] ==== -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. +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 configured setting. *Debugging language issues:*