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();
我在jsp中引入wangeditor初始化的时候控制台报E is not a constructor,打印E的时候是undefined?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-