Double scope declaration breaks tinymce.js
See original GitHub issueDo you want to request a feature or report a bug? Bug
What is the current behavior? Since version 4.7.5 tinymce.js starts with a doubled scope declaration, like this:
// 4.7.5 (2018-01-22)
(function () {
(function () {
// source code ...
}());
})()
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via fiddle.tinymce.com or similar. Just load tinymce@latest via yarn or npm and have a look at the node_modules/tinymce/tinymce.js
What is the expected behavior? Have only one scope, or exporting everything according to 4.7.4
Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE? It worked with 4.7.4 and before and currently effects only 4.7.5. I ran into this one, due to I am loading tinymce via webpack and all my test fail trying to access anything from TinyMCE after loading the bundle.js.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:12 (5 by maintainers)
This is still broken with the angular cli.
Still broken as of 4.9.2