Third party Pasting lists from ODTs into RTE inserts extra empty lines and spaces

Aivaras

Well-known member
Affected version
2.1.7
Pasting a list from an ODT document:
1581444903342.png
into the rich text editor results in extra empty lines and consecutive empty spaces:
2.png
This was not an issue in XF1.

Attached you'll find a test ODT.
 

Attachments

It looks to me like the new editor in XF 2.2 or code we have added between XF 2.1 and 2.2 has improved the situation and the document now pastes as expected.

  1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras dui dolor, placerat ut venenatis quis, mollis eget purus. Quisque maximus, lectus id varius ornare, nisi odio imperdiet justo, nec iaculis sem nibh eget leo. Integer aliquam magna a turpis viverra scelerisque.
  2. Cras commodo leo sapien, a porta massa commodo nec. Quisque suscipit nisi diam, sit amet lacinia nisl placerat non. Curabitur lacinia massa ac fringilla dignissim.
  3. Quisque eu tincidunt nisi. Ut quis ipsum volutpat, interdum felis ut, fermentum dolor. Quisque eget pellentesque augue. Integer in nisl dapibus, congue elit et, suscipit turpis. Cras metus lorem, fringilla tempor posuere in, fringilla a nisl.

  • Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras dui dolor, placerat ut venenatis quis, mollis eget purus. Quisque maximus, lectus id varius ornare, nisi odio imperdiet justo, nec iaculis sem nibh eget leo. Integer aliquam magna a turpis viverra scelerisque.
  • Cras commodo leo sapien, a porta massa commodo nec. Quisque suscipit nisi diam, sit amet lacinia nisl placerat non. Curabitur lacinia massa ac fringilla dignissim.
  • Quisque eu tincidunt nisi. Ut quis ipsum volutpat, interdum felis ut, fermentum dolor. Quisque eget pellentesque augue. Integer in nisl dapibus, congue elit et, suscipit turpis. Cras metus lorem, fringilla tempor posuere in, fringilla a nisl.
 
You'll need to provide more details then because I copy and pasted from the document as described and I got the results you see in my previous message.

Which application are you opening the ODT file in? That may be relevant. Usually more details are better than fewer.
 
The application is OpenOffice.

Same test document.

Actions: copy and paste the text from the test document into the RTE.
 
Back
Top Bottom