You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This caused skin loading to fail in IE 11. I attached a debugger to tinymce.js and was able to track down the root cause. Tinymce tries to figure out the skin url by using document.currentScript, which is not supported by IE unfortunately. It works without the public path setting because the fallback is to use document (index.html) url, which happens to be the same location of the skins folder.
Do you have any ideas on how to solve this problem? In my own project, I have a lot of customized code bundled with tinymce that others can consume, so I can't guarantee the document url is the same with skin url.
The text was updated successfully, but these errors were encountered:
I added a public path in webpack config file in order to output bundle.js to a different directory. It looks like this:
module.exports = {
entry: './src/app.js',
output: {
path: path.join(__dirname, '../dist'),
publicPath: '/dist/',
filename: 'bundle.js'
},
This caused skin loading to fail in IE 11. I attached a debugger to tinymce.js and was able to track down the root cause. Tinymce tries to figure out the skin url by using document.currentScript, which is not supported by IE unfortunately. It works without the public path setting because the fallback is to use document (index.html) url, which happens to be the same location of the skins folder.
Do you have any ideas on how to solve this problem? In my own project, I have a lot of customized code bundled with tinymce that others can consume, so I can't guarantee the document url is the same with skin url.
The text was updated successfully, but these errors were encountered: