ueditor在bootstrap的modal中显示,高度无法自适应

ueditor1_4_3_3问题:

ueditor在bootstrap的modal中显示,高度无法自适应,留出一堆空白!

ueditor在bootstrap的modal中显示,高度无法自适应

解决方式:

原因可能是之前的ueditor对象未清除

在modal中第二次加载ueditor页面,如果想正常显示,则必须先清除ueditor对象,再初始化ueditor

编辑ueditor.all.js,找到UE.getEditor方法,追加UE.delEditor(id);即可!

ueditor在bootstrap的modal中显示,高度无法自适应