Tinymce 4富文本设置行高
由于是Tinymce 4 对于line height 这个插件不支持,只要版本5以上才可以,所以只能通过重新style的方法去实现,
添加 toolbar styleselect
重写 style,添加设置
style_formats: [
{title: "Line Height", items: [
{title: '1', block: 'p', styles: {'line-height': '1.0'}},
{title: .
原创
2020-08-21 11:02:39 ·
3635 阅读 ·
6 评论