ueditor图片无法左右对齐的解决

找到ueditor的配置文件ueditor.config.js,里面搜索 whiteList 然后在下面找到img,在里面添加 'style'。

添加后如下: 

img : [ 'src', 'alt', 'title', 'width', 'height', 'id', '_src','loadingclass', 'class', 'data-latex', 'style' ]  

posted @ 2018-01-10 13:14  Mr.Moon  阅读(312)  评论(0编辑  收藏  举报