Hi Davi,
We attempted to replicate the issue by copying content without any line breaks and pasting it into the Document Editor. However, the content pasted correctly, and no script error occurred. We have attached a video demonstrating two scenarios:
- Pasting a long paragraph without any line breaks.
- Pasting a paragraph with line breaks.
In both cases, the editor functioned as expected.
Kindly review the video and confirm if you are following the same steps. To help us investigate further, please provide the following details:
- Exact steps to reproduce the issue.
- The input document you are copying and pasting from.
- A screenshot of the script error you are referring to.
- We have attached a StackBlitz sample below please try to replicate the issue using this sample and share the results with us.
Sample: Tlzqm92a (duplicated) - StackBlitz
Note: We are using the latest version(31.2.15) of the Document Editor. Kindly specify the version in which you are encountering the issue.
This information will help us analyze the issue further and provide a more effective solution.
Regards.
Sujitha S
Attachment:
Copy_Paste_Without_Linebreaks_6ded9733.zip