No Code Attached Yet bug
avatar mavrosxristoforos
mavrosxristoforos
1 Nov 2022

Steps to reproduce the issue

Open TinyMCE plugin options in Joomla 4.
Save.

Expected result

Editor language should remain English.

Actual result

Editor language switches to Afrikaans. (first value of Language code dropdown)

Additional comments

The Language Code field in plugins/editors/tinymce/forms/setoptions.xml [line 106] is a filelist of the directory media/vendor/tinymce/langs/. The default value is en. However, there is no en.js file in that directory, so the default value is lost and replaced with af as soon as you tweak any TinyMCE plugin options.

Joomla 3 seems to have a similar issue, where you can't deselect a selected language code, but at least the default is empty, because of the different behavior of the dropdown. (the default value in setoptions.xml is still en)

avatar mavrosxristoforos mavrosxristoforos - open - 1 Nov 2022
avatar joomla-cms-bot joomla-cms-bot - change - 1 Nov 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Nov 2022
avatar Fedik Fedik - change - 2 Nov 2022
Labels Added: bug
avatar Fedik Fedik - labeled - 2 Nov 2022
avatar Fedik
Fedik - comment - 2 Nov 2022

Note: this only happens when "Automatic Language Selection" set to "Off"

avatar mavrosxristoforos
mavrosxristoforos - comment - 2 Nov 2022

@Fedik I confirm.

avatar Fedik Fedik - change - 2 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-02 14:15:37
Closed_By Fedik
avatar Fedik Fedik - close - 2 Nov 2022
avatar Fedik
Fedik - comment - 2 Nov 2022

Please test #39131

Add a Comment

Login with GitHub to post a comment