ckeditor 在mvc4发布后出现无法显示的情况

ckeditor 在mvc4发布后出现无法显示的情况,使用js控制台发现ckeditor.js调用其它js文件的路径出错,找不到那些文件。

错误的是:

bundles.Add(new ScriptBundle("~/bundles/ckeditor").Include(
 "~/Scripts/ckeditor/ckeditor.js"));

改为正确的方式:

<script src="~/Scripts/ckeditor/ckeditor.js" type="text/javascript"></script>