1.下编辑框不显示或者输入内容过多后编辑按钮消失问题:
<iframe id="Editor" name="Editor" src="HtmlEditor/index.html?ID=txtContent" frameborder="0" scrolling="No" style="height: 150px; width: 480px;" onload="window.frames['Editor'].document.getElementById('HtmlEditor').style.height='110px';"> </iframe>请确保onload事件里面的style.height='110px'和style="height: 150px;"相差40pxHtmlEditor问题总结
最新推荐文章于 2021-09-29 11:27:51 发布
本文探讨了如何解决HTML编辑器在特定情况下无法正常显示或输入内容过多后消失的问题,提供了通过JavaScript调整iframe高度的解决方案,确保用户在进行文本编辑时体验流畅。
150

被折叠的 条评论
为什么被折叠?



