ueditor 百度编辑器 table表格无法居中

ueditor  编辑器插入的表格,无法居中,使用原本的居中显示,浏览器依然不能居中

原因是,右键->表格对齐方式-> 居中显示 这样设置后 只是在<table align='center'> 这样设置而已,很多浏览器无法居中,

修改ueditor.all.js 代码 搜索tablealignment ,追加下面红圈的代码便可

 

posted @ 2020-11-03 18:03  稻田青蛙  阅读(980)  评论(0编辑  收藏  举报