Following are details. I've got a bunch of custom objects which I'm using in RichTextBox. The control usually contains a couple of buttons and read only range with a span. In 4th version everything worked fine. I could get a copy of document from clipboard by calling ClipboardEx.GetDocument() and then loop through all of my objects and paste them correctly.
But after moving to v.5 all I can get from clipboard is a bunch of spans and nothing more - all read only ranges, my buttons and so on disappear.
Calling Selection.CreateDocumentFromSelection() basically does the same - as a result I get only a collection of spans.