fix: format text class elements boundary error
This commit is contained in:
@@ -358,7 +358,7 @@ export function formatElementList(
|
||||
}
|
||||
i--
|
||||
} else if (
|
||||
(!el.type || el.type === ElementType.TEXT) &&
|
||||
(!el.type || TEXTLIKE_ELEMENT_TYPE.includes(el.type)) &&
|
||||
el.value.length > 1
|
||||
) {
|
||||
elementList.splice(i, 1)
|
||||
|
||||
Reference in New Issue
Block a user