I have a .txt document that when pasted into the editor, creates <br><br> after each paragraph instead of surrounding each paragraph with <p> tags. Why would this happen? I can send you the document to test if needed.
Thanks
1 Answer, 1 is accepted
0
Rumen
Telerik team
answered on 19 Feb 2010, 05:29 PM
Hi Christian,
The content area of RadEditor is a standard editable IFRAME element and it does not control what content is pasted in it and does not modify it. You will experience the same behavior by pasting this content in an editable DIV or IFRAME element.
If you would like you can attach to the OnClientPasteHtml event of RadEditor, check for the Paste command execution and wrap the content in <p> tags. This will be not an easy task but you can experiment and succeed.
Sincerely,
Rumen
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.