index里有一个弹出层,再弹出层中,使用ueditor上传图片,结果被挡住了。
关闭弹出层,才能正常看到。
看了下弹出层的z-index:1050
实例化ueditor的时候,加入zIndex: 1060,数值比弹出层的值大就OK了。
var uploadEditor = UE.getEditor("uploadEditor", {
isShow: false,
focus: false,
enableAutoSave: false,
autoSyncData: false,
autoFloatEnabled: false,
wordCount: false,
sourceEditor: null,
scaleEnabled: true,
toolbars: [["insertimage", "attachment", "insertvideo"]],
zIndex: 1060
});
正常了。。。尼玛啊。。。