Ueditor显示表格边框+调节单元格宽度+表格居中的问题+字体加粗

1、关于调节单元格宽度可以参考下面两个链接

https://blog.csdn.net/lllljz/article/details/45247945

https://blog.csdn.net/lovelyelfpop/article/details/51678742

也可以直接到我的百度网盘去下载ueditor.all.js

链接:https://pan.baidu.com/s/1J7BypEGp0O-OKzr1vkZ0FQ 密码:qjh3

2、表格边框

选择表格---右击---表格---设置表格边线可见

3、表格居中

ueditor表格居中的css样式是align="center" ,这种样式只对IE起作用   要想在其他浏览器中可以访问我们需要加一些样式

 table[align="center"] {
                    margin: 0 auto;
                  }

这个样子就实现了ueditor中表格的居中  虽然不是最好的  但算是比较方便的

4、ueditor里面上传的加粗字体不加粗

在前端的css中加上一句

strong {
                    font-weight: bold;
                }
很多东西都是差不多的   缝缝补补。。。。

猜你喜欢

转载自blog.csdn.net/weixin_41728561/article/details/80677157
今日推荐