第一步:找到ueditor.all.js,通过修改ueditor.all.js里的callback()函数,增加样式loader.setAttribute('style','width:100%');第二步:修改ueditor.config.js里的window.UEDITOR_CONFIG配置中的白名单过滤,在img中加入style结果:在html文件中就会加上样式
loader.setAttribute('style','width:100%');
发表评论 取消回复