feat: unordered list default style

This commit is contained in:
Hufe921
2023-05-18 17:40:55 +08:00
parent 618cb47f77
commit c8b2a7e59f
2 changed files with 5 additions and 5 deletions
+4 -2
View File
@@ -56,8 +56,10 @@ export function formatElementList(elementList: IElement[], options: IFormatEleme
const titleOptions = editorOptions.title
for (let v = 0; v < valueList.length; v++) {
const value = valueList[v]
value.titleId = titleId
value.level = el.level
if (el.level) {
value.titleId = titleId
value.level = el.level
}
// 文本型元素设置字体及加粗
if (isTextLikeElement(value)) {
if (!value.size) {