美文网首页
UEeditor 编辑器插入图片,在编辑器宽100%

UEeditor 编辑器插入图片,在编辑器宽100%

作者: karl_song | 来源:发表于2017-12-19 20:07 被阅读56次

找到:\ueditor\themes\iframe.css

添加:

img {
max-width: 100%; /*图片自适应宽度*/
}
body {
overflow-y: scroll !important;
}
.view {
word-break: break-all;
}
.vote_area {
display: block;
}
.vote_iframe {
background-color: transparent;
border: 0 none;
height: 100%;
}
#edui1_imagescale{display:none !important;} /*去除点击图片后出现的拉伸边框*/

很重要一步,清空浏览器缓存,我是啥都清了,亲测可用。

相关文章

网友评论

      本文标题:UEeditor 编辑器插入图片,在编辑器宽100%

      本文链接:https://www.haomeiwen.com/subject/ytbiwxtx.html