Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert changes in CKEDITOR.plugins.addExternal #3478

Merged
merged 5 commits into from
Sep 23, 2019
Merged

Revert changes in CKEDITOR.plugins.addExternal #3478

merged 5 commits into from
Sep 23, 2019

Conversation

Comandeer
Copy link
Member

What is the purpose of this pull request?

Bug fix

Does your PR contain necessary tests?

All patches which change the editor code must include tests. You can always read more
on PR testing,
how to set the testing environment and
how to create tests
in the official CKEditor documentation.

This PR contains

  • Unit tests
  • Manual tests

What is the proposed changelog entry for this pull request?

Describe the purpose of the pull request in a few simple sentences.

What changes did you make?

I've reverted changes introduced in #3378. However additionally I've refactored CKEDITOR.plugins.addExternal by moving fileName guessing logic out of the loop and simplified tests for #10913. I've also moved them to /tests/core/plugins/plugins.js.

Closes #3477.

@f1ames f1ames self-requested a review September 23, 2019 14:01
@f1ames f1ames self-assigned this Sep 23, 2019
Copy link
Contributor

@f1ames f1ames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@f1ames f1ames merged commit 98cae96 into major Sep 23, 2019
@CKEditorBot CKEditorBot deleted the t/3477 branch September 23, 2019 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CKEDITOR.plugins.addExternal breaks with full file path
2 participants