I have been using CKEditor for a bit on an older project. I just loaded it up in Visual Studio and noticed there is an issue loading the scripts. It appears when it loads, I get a DECODED_FAILED error in the console. Screenshots below… any thoughts as to why this would be different? VS has the latest updates and this is an ASP.Net MVC project.
While it may not be this exact reason, the editor is failing to load and it appears its because its not loading these initial files properly. Is this some sort of web.config issue? Or maybe the latest version of Visual Studio’s updates?
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Sadly we have not found a full-proof answer, but disabling GZIP on the IIS server allowed us to proceed using the control in the mean-time.
In messing with this, I noticed that if you turn of Static Compression for the site (within IIS) it works again. I also noticed that if I call the editor from the CKEditor CDN, the script works as well.
So calling it from the CDN allows you to leave Static Compression on.
Side Note: Not sure why, but when calling the script locally it adds on a parameter to the config.js?t=EAPE, which appears to be processed as a text/html content type. Unfortunately this is a legacy system so I did not mess with it any further, I have left Static Compression off for now.