ueditor 多图上传 手机图片适配 图片宽度设置max-width

在ueditor.all.js文件中搜索  UE.commands['insertimage']  

1.单图加载:在红框处<img> 标签中,增加 style="max-width:100%;"

2.多图加载:修改else程序块<img>标签,在红色代码部分增加 max-width:100%;

 

 

 

 

 

 

posted on 2020-10-30 15:09  暖暖的朝阳  阅读(354)  评论(0)    收藏  举报

导航