What happened?
The algorithm used for reformatting the entire component is not very friendly to Chinese text. When pressing the space key within a paragraph, it may insert line breaks at inappropriate positions where no line break should occur, resulting in a poor visual appearance.
Steps to reproduce
For example, in any line of the second paragraph, if you first insert a space, and then insert another space at the same X-axis position or further to the left on the next line, a line break will occur at the position of the first space. This behavior is incorrect.
test.docx
SuperDoc version
No response
Browser
None
Additional context
No response
What happened?
The algorithm used for reformatting the entire component is not very friendly to Chinese text. When pressing the space key within a paragraph, it may insert line breaks at inappropriate positions where no line break should occur, resulting in a poor visual appearance.
Steps to reproduce
For example, in any line of the second paragraph, if you first insert a space, and then insert another space at the same X-axis position or further to the left on the next line, a line break will occur at the position of the first space. This behavior is incorrect.
test.docx
SuperDoc version
No response
Browser
None
Additional context
No response