? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
23 Oct 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 which is obviously also not correct.

this PR stops the minification of these languages files.

To test you should

  1. delete the contents of media\vendor\tinymce\langs
  2. run npm run build:js
  3. confirm that there are now no *.min.js in the media\vendor\tinymce\langs folder

Pull Request for Issue #35646

avatar brianteeman brianteeman - open - 23 Oct 2021
avatar brianteeman brianteeman - change - 23 Oct 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Oct 2021
Category JavaScript Repository
avatar ricardo1709
ricardo1709 - comment - 23 Oct 2021

I have tested this item successfully on 1c09c93


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35878.

avatar ricardo1709 ricardo1709 - test_item - 23 Oct 2021 - Tested successfully
avatar richard67
richard67 - comment - 23 Oct 2021

I have tested this item successfully on 1c09c93

I've verified that the minified version is never loaded and that the PR fixes the issue that you get "minified languages" in the language selection of the editor plugin settings when switching off automatic language detection so you get the language selection.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35878.

avatar richard67 richard67 - test_item - 23 Oct 2021 - Tested successfully
avatar richard67 richard67 - change - 23 Oct 2021
Status Pending Ready to Commit
Labels Added: ?
avatar richard67
richard67 - comment - 23 Oct 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35878.

avatar RickR2H
RickR2H - comment - 23 Oct 2021

I have tested this item successfully on 1c09c93


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35878.

avatar RickR2H RickR2H - test_item - 23 Oct 2021 - Tested successfully
avatar dgrammatiko
dgrammatiko - comment - 23 Oct 2021

There's a better way according to their docs: https://www.tiny.cloud/docs/configure/integration-and-setup/#suffix

avatar dgrammatiko
dgrammatiko - comment - 23 Oct 2021

@brianteeman can you try removing this line:

avatar brianteeman
brianteeman - comment - 23 Oct 2021

That wouldnt stop the build scripts from creating the minified files

avatar brianteeman
brianteeman - comment - 23 Oct 2021

There's a better way according to their docs: https://www.tiny.cloud/docs/configure/integration-and-setup/#suffix

Thats for the theme and plugins.

This PR is for the language files

avatar brianteeman brianteeman - change - 23 Oct 2021
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2021-10-23 18:43:42
Closed_By brianteeman
Labels Added: ?
avatar brianteeman brianteeman - close - 23 Oct 2021
avatar brianteeman
brianteeman - comment - 23 Oct 2021

that's the last time I touch javascript

avatar richard67
richard67 - comment - 23 Oct 2021

Why closed? The PR is right, or do I miss something?

avatar richard67
richard67 - comment - 23 Oct 2021

Ah I see now, alternative PR #35883 .

avatar brianteeman
brianteeman - comment - 23 Oct 2021

Create an issue. its ignored.
create a pr. suddenly people notice

avatar richard67
richard67 - comment - 23 Oct 2021

Well, maybe we just have too many issues so we have lost the overview :-(

avatar dgrammatiko
dgrammatiko - comment - 24 Oct 2021

@brianteeman I just tried to help. I'm closing my PR so please reopen this one.

avatar richard67
richard67 - comment - 24 Oct 2021

And now?

avatar richard67
richard67 - comment - 24 Oct 2021

@dgrammatiko I don't think that @brianteeman wanted you to close your PR. Please re-open it.

avatar dgrammatiko
dgrammatiko - comment - 25 Oct 2021

@richard67 I reopened the other PR

Add a Comment

Login with GitHub to post a comment