Ckeditor上传图片网上有很多教程。
下面是我今天下午遇到的一个坑...自己挖的坑。
在conotroller里
我开始习惯性的
response.setContentType("application/json; charset=UTF-8");
结果就是这个坑。设置错了响应类型。
正确的应该是
response.setContentType("text/html;charset=UTF-8");
希望别人不要踩到这个坑....