技术 · 思考 · 实践 · 成长

首页/运维/正文

ueditor富文本 修改自适应宽度

运维603 次阅读

ueditor富文本 修改自适应宽度

修改ueditor.all.js  找到setFullScreen方法 editor.iframe.parentNode.style.width设置为"100%"

<script type="text/javascript">     var editor = new UE.ui.Editor({ initialFrameHeight:100,initialFrameWidth:400 });     editor.render("content");     UE.getEditor("content"); </script>

                 

设置固定高度


image.png

世间最珍贵的不是“得不到”和“已失去”,而是现在能把握的幸福。

评论交流

0 条评论 · 支持多级回复
验证码
暂无评论,来说说你的想法吧

相关文章

继续阅读