Approved
Last Updated: 30 Sep 2019 16:48 by ADMIN
Chris
Created on: 30 Sep 2019 16:42
Category: RichTextBox
Type: Bug Report
0
RichTextBox: Swapping the copied document fragment on Paste with another one breaks list

When the copied document fragment is replaced during paste within a single RadDocument:

ClipboardEx.SetDocument(new DocumentFragment(doc));

Ordered list are not pasted correctly.

Workaround:

Bypass paste and use the InsertFragment API

this.radRichTextBox.InsertFragment(new DocumentFragment(doc));
e.Cancel = true;

0 comments