Skip to content

Commit

Permalink
DOC-2487: Replace 'en' with 'en_US' in Spellchecker docs and demo
Browse files Browse the repository at this point in the history
  • Loading branch information
FarzadHayat committed Jul 16, 2024
1 parent f02bea0 commit 097fc08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/ROOT/examples/live-demos/spellchecker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tinymce.init({
plugins: 'code tinymcespellchecker link',
toolbar: 'spellchecker language spellcheckdialog',
height: 500,
spellchecker_language: 'en',
spellchecker_language: 'en_US',
content_langs: [
{ title: 'Afrikaans (South Africa)', code: 'af_ZA', customCode: 'af_ZA' },
{ title: 'English (Australia)', code: 'en_AU' },
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/introduction-to-tiny-spellchecker.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ With {cloudname} the server-side spellchecking component is automatically config
tinymce.init({
selector: 'textarea',
plugins: 'tinymcespellchecker',
spellchecker_language: 'en'
spellchecker_language: 'en_US'
});
----

Expand All @@ -47,7 +47,7 @@ tinymce.init({
selector: 'textarea',
plugins: 'tinymcespellchecker',
spellchecker_rpc_url: 'localhost/ephox-spelling',
spellchecker_language: 'en'
spellchecker_language: 'en_US'
});
----

Expand Down

0 comments on commit 097fc08

Please sign in to comment.