您的位置: 首页 > 文章 > ueditor在bootstrap的modal中显示,高度无法自适应 ueditor在bootstrap的modal中显示,高度无法自适应 分类: 文章 • 2025-02-28 15:18:53 ueditor1_4_3_3问题: ueditor在bootstrap的modal中显示,高度无法自适应,留出一堆空白! 解决方式: 原因可能是之前的ueditor对象未清除 在modal中第二次加载ueditor页面,如果想正常显示,则必须先清除ueditor对象,再初始化ueditor 编辑ueditor.all.js,找到UE.getEditor方法,追加UE.delEditor(id);即可!