var E = window.wangEditor;
console.log(E)//undefined
var editor = new E('#editor');
//开启debug模式
editor.customConfig.debug = true;
editor.customConfig.uploadFileName = 'file'; //设置文件上传的参数名称
editor.customConfig.uploadImgServer = "<%=basePath %>appUpload/editorUpload";
editor.create();
楼主解决了吗
应该是wangeditor的 js 文件中有小错误,比如,少了一个‘,’
楼主有解决吗?