Unplanned
Last Updated: 03 Feb 2020 11:15 by ADMIN

To reproduce:

- Select several words by holding the control key. 

- Paste some text. 

Result: the first word is replaced, the other are deleted

Expected: the text should be pasted in all selected places

Workaround:

private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand)
    {
        var ranges = radRichTextBox.Document.Selection.Ranges.ToList();
        if (ranges.Count > 1)
        {
            e.Cancel = true;

            foreach (var range in ranges)
            {
                radRichTextBox.Document.Selection.Clear();
                radRichTextBox.Document.Selection.AddSelectionStart(range.StartPosition);
                radRichTextBox.Document.Selection.AddSelectionEnd(range.EndPosition);
                PasteNewText();
            }      
        }
    }
}
public void PasteNewText()
{
    DocumentFragment clipboardDocument = null;
    string clipboardText = null;
    bool clipboardContainsData = false;

    if (ClipboardEx.ContainsText(null))
    {
        clipboardText = ClipboardEx.GetText(null);
        clipboardContainsData = true;
    }

    if (!clipboardContainsData)
    {
        return;
    }

    if (clipboardDocument != null)
    {
        this.radRichTextBox.ActiveDocumentEditor.InsertFragment(clipboardDocument);
    }
    else if (!string.IsNullOrEmpty(clipboardText))
    {
        this.radRichTextBox.ActiveDocumentEditor.Insert(clipboardText);
    }
}

Unplanned
Last Updated: 10 Feb 2020 13:59 by ADMIN

Use the attached project to reproduce:

- Click the first button so the image is changed

- Click the second button and examine the exported HTML

Expected: the Uri is exported

Actual: the Uri is not exported.

Workaround: 

p.Inlines.AddAfter(image, image2);
p.Inlines.Remove(image);

Unplanned
Last Updated: 10 Mar 2020 07:23 by ADMIN
Invalid document is generated when track changes is enabled and the InsertFragment method is used
Unplanned
Last Updated: 09 Apr 2020 14:16 by ADMIN
The document content is not measured properly, leading to incorrect selection ranges.
Unplanned
Last Updated: 23 Aug 2021 12:01 by ADMIN
RichTextBox: Replacing text in a hyperlink puts the text with a wrong start position. It starts from the second index.
Unplanned
Last Updated: 09 Jun 2020 14:47 by ADMIN
When importing an HTML file which contains table should align table cell content left and middle. Instead, it aligns them left and top.
Unplanned
Last Updated: 04 Aug 2020 06:15 by ADMIN
The table merge and columns width are not correct when importing a specific document
Unplanned
Last Updated: 25 Aug 2020 11:16 by ADMIN

Hello,

   We found a problem when using the radrichtextbox control. When radrichtextbox is enabled to cancel input, error will be reported using the sougou Chinese input method. This problem will not occur in the English input method. Please help solve it. Thank you very much.

Unplanned
Last Updated: 27 Aug 2020 05:54 by ADMIN
Memory leak caused by the section columns dialog
Unplanned
Last Updated: 15 Sep 2020 08:16 by ADMIN

The DeepCopy method does not copy the font of the predefined table styles

 

Workaround:

var fragment = new DocumentFragment(radRichTextBox.Document);
radRichTextBox.Document = new RadDocument();
DefaultStyleSheet.Instance.ApplyStylesheetToDocument(radRichTextBox.Document);
radRichTextBox.InsertFragment(fragment);

Unplanned
Last Updated: 18 Sep 2020 06:12 by ADMIN
Created by: Maulik
Comments: 0
Category: RichTextBox
Type: Bug Report
1
When the copied text doesn't contain any formating the Keep Text Only paste option should be applied (check the attached record.gif)
Unplanned
Last Updated: 21 Oct 2020 08:45 by ADMIN
 The paragraph which has run with vanish attribute is not imported from docx
Unplanned
Last Updated: 10 Jan 2024 13:27 by Luke

The paste options popup stays visible when the window is deactivated

Workaround: 

private void MainWindow_Deactivated(object sender, EventArgs e)
{
    var popup = radRichTextBox.PasteOptionsPopup as PasteOptionsPopup;
    popup.Close();
}
Unplanned
Last Updated: 30 Oct 2020 08:31 by ADMIN
When changing the names of the style and export to RTF the style names are duplicated when imported again
Unplanned
Last Updated: 15 Dec 2020 09:33 by ADMIN

After deleting a custom annotation using the DeleteAnnotationRange method when there is a text immediately in front of the annotation start:

and then trying to delete the last character in this former annotation range an exception is thrown (Exception: System.InvalidOperationException: 'inline does not belong to this document.')

Unplanned
Last Updated: 08 Feb 2021 06:49 by ADMIN
Text is cut off and border size is different when DPI scaling is other than 100%. The caret is not placed correctly as well. 
Unplanned
Last Updated: 05 Mar 2021 05:56 by ADMIN
The span's bounding rectangle is not measured correctly, which results in creating a visual text element with smaller height than needed. Resizing the table cell does not affect the scenario as expected.
Unplanned
Last Updated: 08 Mar 2021 13:26 by ADMIN

When "rFonts" is set in docDefaults:

<w:styles>
	<w:docDefaults>
		<w:rPrDefault>
			<w:rPr>
				<w:rFonts w:ascii="Verdana" w:eastAsia="Times New Roman" w:hAnsi="Verdana" w:cs="Verdana"/>
				...
			</w:rPr>
		</w:rPrDefault>

and partially in the local run properties:

<w:r>
	<w:rPr>
		<w:rFonts w:cs="Times New Roman"/>
		...
	</w:rPr>
	<w:t>Text</w:t>
</w:r>

A wrong font is applied.

ExpectedVerdana
Actual: Times New Roman

Unplanned
Last Updated: 05 Apr 2021 10:04 by ADMIN
Wrong indexing when export the list override index ("\ls") THe index should start from 1 not from 2 or 3
Unplanned
Last Updated: 17 May 2021 08:23 by ADMIN
Inner row and cell borders are not respected when importing table with specific borders