Thank you for writing.
As the clipboard keeps content in several formats, the paste functionality in RadRichTextBox uses its RtfFormatProvider and HtmlFormatProvider in order to insert the content. When the two format providers are referenced, the PasteCommand tries to create a document out of the RTF content of the clipboard. If it fails for some reason (e.g. the RTF is invalid or not supported by RtfFormatProvider), the paste falls back to HTML. In case HtmlFormatProvider cannot handle the clipboard content as well, the plain text from the clipboard will be inserted in the document. You could find more information on the matter in this help article.
In this context could you please elaborate where the string is copied from and which of the above format providers are referenced in your application? You could try to isolate the problem by saving the string in .html and .rtf file formats and import them in RadRichTextBox. Other important information we need to further investigate the problem is what exact version of RadControls for WPF you are using as well as in what text direction (left-to-right or right-to-left) you are observing these problems. It would be great if you could send us some repro documents and screenshots demonstrating the issues.
Looking forward to your reply.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>