mirror of https://gitee.com/xiaonuobase/snowy
【修复】修复TinyMCE6段落样式、字体、列表编号控件不显示问题
parent
4155d160cb
commit
1943c3985f
|
@ -15,6 +15,8 @@
|
||||||
import 'tinymce/plugins/link' // 超链接
|
import 'tinymce/plugins/link' // 超链接
|
||||||
import 'tinymce/plugins/preview' // 预览
|
import 'tinymce/plugins/preview' // 预览
|
||||||
import 'tinymce/plugins/table' // 表格
|
import 'tinymce/plugins/table' // 表格
|
||||||
|
import 'tinymce/plugins/lists' // 列表编号
|
||||||
|
import 'tinymce/plugins/advlist' //高级列表编号
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
@ -39,12 +41,12 @@
|
||||||
},
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
type: [String, Array],
|
type: [String, Array],
|
||||||
default: 'code image link preview table'
|
default: 'code image link preview table lists advlist'
|
||||||
},
|
},
|
||||||
toolbar: {
|
toolbar: {
|
||||||
type: [String, Array],
|
type: [String, Array],
|
||||||
default:
|
default:
|
||||||
'undo redo | forecolor backcolor bold italic underline strikethrough link | formatselect fontselect fontsizeselect | \
|
'undo redo | forecolor backcolor bold italic underline strikethrough link | blocks fontfamily fontsize | \
|
||||||
alignleft aligncenter alignright alignjustify outdent indent lineheight | bullist numlist | \
|
alignleft aligncenter alignright alignjustify outdent indent lineheight | bullist numlist | \
|
||||||
image table preview | code selectall'
|
image table preview | code selectall'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue