I am developing a web application using ASP.NET MVC 4 and I am trying to use CKEditor for some content editing.
In debug mode, everything works fine until no binding or minimization occurs, but as soon as CKEditor generates the wrong URLs, even if I set baseHref:
CKEDITOR.replace('ckeditor', { autoUpdateElement: true, baseHref: '@Url.Content("~/Scripts/ckeditor/")', filebrowserImageUploadUrl: '/Uploads/Upload' });
The debugging includes the following:
<script src="/Scripts/ckeditor/ckeditor.js"></script>
And after picking / minifaction it is simple:
<script src="/bundles/ckeditor?v=dLE-_JqB4vxXJ9idGep_8yUL8KfOwGhfYoEZAeIudoE1"></script>
and he is trying to download the following js files:
http:
What is not as it should be:
http:
Does anyone know what I'm doing wrong or how to fix it?
As an alternative, I would also be fine with the ability to disable linking / minimization for this single package to avoid this problem.
source share