When a non english language is used then tinyMCE should use that language and when not in debug mode this should be a minified js file.
Currently only the non-minified file is used
You can test this by switching your site admin to french and then open an article for editing. You will see that tinyMCE is now in french
Now inspect the page and you will see that it is using fr.js when it should be using fr.min.js
cc @dgrammatiko
Labels |
Added:
No Code Attached Yet
|
The we have been generating minified js files for no reason for very many years :(
This is TinyMCE behavior
I could adjust the build scripts to minify the .js file. The non minified files are kinda useless anyways if the editor by design loads only the .js ones…
Or can just skip minification for TinyMCE.
It is not much important.
This is TinyMCE behavior (different than for TinyMCE plugins) https://www.tiny.cloud/docs/tinymce/latest/ui-localization/.
I did not found any info that the editor script will look for minified version of the language file.