Hi Telerik Support,
I am encountering an issue when using the copy & paste feature of the RadEditor, in conjunction with ordered and unordered lists.
The issue occurs when pasting content from a Word document, I am using the clean paste feature (removing all formatting from the Word content) and works great, however, when an ordered or unordered list is then added to any line of the pasted content, it appears at the very beginning of the pasted content. The demo does work as expected but I am worried that some of my other code is impacting the default behavior.
I am using a heavily customized RadEditor embedded in a ASP.Net ASPX form, which I have attached (I do utilize custom dialogs also).
If I am missing any information that is required, please let me know and I will provide.
Thank you!
Hi Christopher,
In the 2025 Q1 release, some security improvements and fixes were made to the Paste from Word-related regular expressions in RadEditor, which could be related to the issue you’re experiencing. To help us investigate further, could you please provide the Word file and a screenshot of the problem? Thank you!
Thank you Rumen!
I have attached the sample Word document that I was copy & pasting from, also below is the screenshot showing the placement of the bullet point at the beginning of the content instead of where the cursor was positioned (after pasting, I wanted to add the bullet point where the cursor is).
Regards,
Christopher
Hi Christopher,
I tested the provided Word file by copying and pasting its content into the RadEditor demos but was unable to reproduce the reported issue. The Ordered and Unordered list commands in RadEditor apply only to block elements. In this case, the sentence "This is a test document" is wrapped in a paragraph tag, allowing the bullet to be applied correctly—unlike what is shown in the provided screenshot.
For your convenience, I have recorded a video demonstrating my test - https://youtu.be/8y05xHM7_MM. I recommend testing with the live demos and comparing your RadEditor setup to ensure consistency. Note that the live demos run the latest product version and you might need to test with the latest version too.
Additionally, the scenario you described does not appear to be directly related to the regression introduced in version 2025 Q1. The regression will be also fixed in a service pack scheduled for this week.