No Code Attached Yet
avatar brianteeman
brianteeman
22 Sep 2021

Because of the way that tinymce works it can only use a language file that is named exactly the same as the language. As a result none of the minified files eg de.min.js will ever be used.

They are also listed as a language in the plugin configuration.

Either the build scripts are set to exclude these js files OR they are minified but not renamed.

I took a look at the build scripts but its beyond my skillset to implement

avatar brianteeman brianteeman - open - 22 Sep 2021
avatar joomla-cms-bot joomla-cms-bot - change - 22 Sep 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Sep 2021
avatar wojsmol
wojsmol - comment - 22 Sep 2021

@brianteeman If I read code correctly the adding something like

if (file.includes(`build${sep}media_source${sep}vendor${sep}bootstrap${sep}js`)) {
return;
}
should fix the issue.

avatar brianteeman
brianteeman - comment - 3 Oct 2021

@wojsmol sadly not

avatar brianteeman brianteeman - change - 23 Oct 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-10-23 11:25:11
Closed_By brianteeman
avatar brianteeman brianteeman - close - 23 Oct 2021
avatar brianteeman
brianteeman - comment - 23 Oct 2021

Closed as we have a PR #35878

Add a Comment

Login with GitHub to post a comment