优化ueditor设置高度的时候出现不必要的滚动条。
This commit is contained in:
@@ -7131,7 +7131,7 @@ var fillCharReg = new RegExp(domUtils.fillChar, 'g');
|
|||||||
this.iframe.parentNode.style.height = height + 'px';
|
this.iframe.parentNode.style.height = height + 'px';
|
||||||
}
|
}
|
||||||
!notSetHeight && (this.options.minFrameHeight = this.options.initialFrameHeight = height);
|
!notSetHeight && (this.options.minFrameHeight = this.options.initialFrameHeight = height);
|
||||||
this.body.style.height = height + 'px';
|
//this.body.style.height = height + 'px'; // 设置高的时候会出现多余的垂直滚动条
|
||||||
!notSetHeight && this.trigger('setHeight')
|
!notSetHeight && this.trigger('setHeight')
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user