修改UEditor对话框高度,避免被Bootstrap遮挡
_show: function (){
    if (this._hidden) {
    this.getDom().style.display = '';
    //要高过编辑器的zindex
    this.editor.container.style.zIndex && (this.getDom().style.zIndex = this.editor.container.style.zIndex * 1 + 100);
    this._hidden = false;
    this.fireEvent('show');
    baidu.editor.ui.uiUtils.getFixedLayer().style.zIndex = this.getDom().style.zIndex - 4;
    }
},

修改了

this.editor.container.style.zIndex && (this.getDom().style.zIndex = this.editor.container.style.zIndex * 1 + 10);

this.editor.container.style.zIndex && (this.getDom().style.zIndex = this.editor.container.style.zIndex * 1 + 100);

使得预览对话框的高度由999*1+10改为999*1+100,从而高过了bootstrap top的高度1030,从而不被bootstrap遮挡

  • 站长:Dreamheart_Zhao
  • 职业:专职程序猿
  • 技能:
    • Python
    • C#
    • .NetMVC
    • C++
    • Java
  • Email: addonce@163.com