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>

posted @ 2014-05-17 23:21  扬中源  阅读(229)  评论(0编辑  收藏  举报