fix: format different types of line breaks #769

main
Hufe921 2 years ago
parent 31b76b6fb6
commit f65ff87e44

@ -451,7 +451,7 @@ export function formatElementList(
} }
el = elementList[i] el = elementList[i]
} }
if (el.value === '\n') { if (el.value === '\n' || el.value == '\r\n') {
el.value = ZERO el.value = ZERO
} }
if (el.type === ElementType.IMAGE || el.type === ElementType.BLOCK) { if (el.type === ElementType.IMAGE || el.type === ElementType.BLOCK) {

Loading…
Cancel
Save