I've got a problem with the editor when pasting text from word or pasting as plain text.
If I go to the html-view, I notice that the RADeditor only assigns <br /> when it should be <p>.
Is there a way to have the RADeditor assign <p>-tags to text?
Thanks in advance!
1 Answer, 1 is accepted
answered on 14 Jan 2009, 10:00 AM
RadEditor does not modify the content pasted from Word, but it only strips the Word specific formatting such as mso styles, attributes and special tags. This means that if the pasted content contains <br> tags they will be not stripped, because they are valid HTML tags.
It is possible to replace all <br/> tags with <p></p> tags on the client with a custom content filter or on the server with String.Replace method, but the <br> tag is not a container and it is not an easy task to decide what content to wrap inside the <p></p> tags.
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.